In the classes module, you can use the "offline" Model classes available in the models module. Can I use the classes without external data source?įrom now on - Yes! The whole adapter engine has been extracted, so now, apart from full auto-refreshed classes available The parent is kept in sync with the children. For example, when OrbitalStation instance changes its attribute controlling_faction, the attribute stations on theįactionBranch instance is also updated, and vice versa. There is a special class representing parent-children relation (one-to-many). ![]() They will definitely be extended gradually in the future, as new However, they can be easilyĮxtended if you need to add a particular attribute. The classes are not a full representation - such objects would be expensive to work with. OrbitalStation - station inside a system.FactionBranch - representation of a faction within a single system.What classes are included?Ĭurrently the following objects are represented: Generally the library should let you focus on the logic of your application, instead of dealing with Elite Dangerousĭata structure for 100th time. print(f"!")Ĭommander, your presence is required at Ocellus 'Columbus' in the System 'Sol'! > for faction_branch in sol.faction_branches: The rest is loadedįrom the third party API. ![]() Note, that system name is all that needs to be provided. Here is an example of how it can be used. Pip install elite-dangerous-classes-library How to use it? What is this library for?ĭata about systems, factions and stations in Elite Dangerous at your fingertips!Įlite Dangerous Classes Library provides classes representing various objects in the game "Elite Dangerous" (systems, factions etc.).ĭevelopers can use these classes to speed up developing simple applications working with the game data. Elite Dangerous Classes Library aka edclasses
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |