RigsofRods
Soft-body Physics Simulation
|
#include <CacheSystem.h>
Public Member Functions | |
CacheEntry () | |
default constructor resets the data. More... | |
~CacheEntry () | |
Public Member Functions inherited from RefCountingObject< CacheEntry > | |
RefCountingObject () | |
virtual | ~RefCountingObject () |
void | AddRef () |
void | Release () |
Data Fields | |
CacheEntryID_t | number |
Sequential number, assigned internally, used by Selector-GUI. More... | |
Ogre::String | fpath |
filepath relative to the .zip file More... | |
Ogre::String | fname |
filename More... | |
Ogre::String | fname_without_uid |
filename More... | |
Ogre::String | fext |
file's extension More... | |
Ogre::String | dname |
name parsed from the file More... | |
int | categoryid |
category id More... | |
Ogre::String | categoryname |
category name More... | |
std::time_t | addtimestamp |
timestamp when this file was added to the cache More... | |
Ogre::String | uniqueid |
file's unique id More... | |
Ogre::String | guid |
global unique id; Type "addonpart" leaves this empty and uses addonpart_guids ; Always lowercase. More... | |
int | version |
file's version More... | |
std::string | resource_bundle_type |
Archive type recognized by OGRE resource system: 'FileSystem' or 'Zip'. More... | |
std::string | resource_bundle_path |
Path of ZIP or directory which contains the media. Shared between CacheEntries, loaded only once. More... | |
std::time_t | filetime |
filetime More... | |
bool | deleted |
is this mod deleted? More... | |
int | usagecounter |
how much it was used already More... | |
std::vector< AuthorInfo > | authors |
authors More... | |
Ogre::String | filecachename |
preview image filename More... | |
Ogre::String | resource_group |
Resource group of the loaded bundle. Empty if not loaded yet. More... | |
RigDef::DocumentPtr | actor_def |
Cached actor definition (aka truckfile) after first spawn. More... | |
std::shared_ptr< RoR::SkinDef > | skin_def |
Cached skin info, added on first use or during cache rebuild. More... | |
RoR::TuneupDefPtr | tuneup_def |
Cached tuning info, added on first use or during cache rebuild. More... | |
RoR::TuneupDefPtr | addonpart_data_only |
Cached addonpart data (dummy tuneup), only used for evaluating conflicts, see AddonPartUtility::RecordAddonpartConflicts() More... | |
std::set< std::string > | addonpart_guids |
GUIDs of all vehicles this addonpart is used with. More... | |
std::set< std::string > | addonpart_filenames |
File names of all vehicles this addonpart is used with. If empty, any filename goes. More... | |
std::string | tuneup_associated_filename |
Value of 'filename' field in the tuneup file; always lowercase. More... | |
Ogre::String | description |
Ogre::String | tags |
std::string | default_skin |
int | fileformatversion |
bool | hasSubmeshs |
int | nodecount |
int | beamcount |
int | shockcount |
int | fixescount |
int | hydroscount |
int | wheelcount |
int | propwheelcount |
int | commandscount |
int | flarescount |
int | propscount |
int | wingscount |
int | turbopropscount |
int | turbojetcount |
int | rotatorscount |
int | exhaustscount |
int | flexbodiescount |
int | soundsourcescount |
float | truckmass |
float | loadmass |
float | minrpm |
float | maxrpm |
float | torque |
bool | customtach |
bool | custom_particles |
bool | forwardcommands |
bool | importcommands |
bool | rescuer |
ActorType | driveable |
int | numgears |
char | enginetype |
std::vector< Ogre::String > | sectionconfigs |
Data Fields inherited from RefCountingObject< CacheEntry > | |
int | m_refcount |
std::mutex | m_refcount_mtx |
Additional Inherited Members | |
Static Public Member Functions inherited from RefCountingObject< CacheEntry > | |
static void | RegisterRefCountingObject (AS_NAMESPACE_QUALIFIER asIScriptEngine *engine, const char *name) |
Definition at line 55 of file CacheSystem.h.
CacheEntry::CacheEntry | ( | ) |
default constructor resets the data.
Definition at line 62 of file CacheSystem.cpp.
CacheEntry::~CacheEntry | ( | ) |
Definition at line 105 of file CacheSystem.cpp.
RigDef::DocumentPtr RoR::CacheEntry::actor_def |
Cached actor definition (aka truckfile) after first spawn.
Definition at line 91 of file CacheSystem.h.
RoR::TuneupDefPtr RoR::CacheEntry::addonpart_data_only |
Cached addonpart data (dummy tuneup), only used for evaluating conflicts, see AddonPartUtility::RecordAddonpartConflicts()
Definition at line 94 of file CacheSystem.h.
std::set<std::string> RoR::CacheEntry::addonpart_filenames |
File names of all vehicles this addonpart is used with. If empty, any filename goes.
Definition at line 99 of file CacheSystem.h.
std::set<std::string> RoR::CacheEntry::addonpart_guids |
GUIDs of all vehicles this addonpart is used with.
Definition at line 98 of file CacheSystem.h.
std::time_t RoR::CacheEntry::addtimestamp |
timestamp when this file was added to the cache
Definition at line 75 of file CacheSystem.h.
std::vector<AuthorInfo> RoR::CacheEntry::authors |
authors
Definition at line 86 of file CacheSystem.h.
int RoR::CacheEntry::beamcount |
Definition at line 111 of file CacheSystem.h.
int RoR::CacheEntry::categoryid |
category id
Definition at line 72 of file CacheSystem.h.
Ogre::String RoR::CacheEntry::categoryname |
category name
Definition at line 73 of file CacheSystem.h.
int RoR::CacheEntry::commandscount |
Definition at line 117 of file CacheSystem.h.
bool RoR::CacheEntry::custom_particles |
Definition at line 134 of file CacheSystem.h.
bool RoR::CacheEntry::customtach |
Definition at line 133 of file CacheSystem.h.
std::string RoR::CacheEntry::default_skin |
Definition at line 107 of file CacheSystem.h.
bool RoR::CacheEntry::deleted |
is this mod deleted?
Definition at line 84 of file CacheSystem.h.
Ogre::String RoR::CacheEntry::description |
Definition at line 105 of file CacheSystem.h.
Ogre::String RoR::CacheEntry::dname |
name parsed from the file
Definition at line 70 of file CacheSystem.h.
ActorType RoR::CacheEntry::driveable |
Definition at line 139 of file CacheSystem.h.
char RoR::CacheEntry::enginetype |
Definition at line 141 of file CacheSystem.h.
int RoR::CacheEntry::exhaustscount |
Definition at line 124 of file CacheSystem.h.
Ogre::String RoR::CacheEntry::fext |
file's extension
Definition at line 69 of file CacheSystem.h.
Ogre::String RoR::CacheEntry::filecachename |
preview image filename
Definition at line 87 of file CacheSystem.h.
int RoR::CacheEntry::fileformatversion |
Definition at line 108 of file CacheSystem.h.
std::time_t RoR::CacheEntry::filetime |
filetime
Definition at line 83 of file CacheSystem.h.
int RoR::CacheEntry::fixescount |
Definition at line 113 of file CacheSystem.h.
int RoR::CacheEntry::flarescount |
Definition at line 118 of file CacheSystem.h.
int RoR::CacheEntry::flexbodiescount |
Definition at line 125 of file CacheSystem.h.
Ogre::String RoR::CacheEntry::fname |
filename
Definition at line 67 of file CacheSystem.h.
Ogre::String RoR::CacheEntry::fname_without_uid |
filename
Definition at line 68 of file CacheSystem.h.
bool RoR::CacheEntry::forwardcommands |
Definition at line 135 of file CacheSystem.h.
Ogre::String RoR::CacheEntry::fpath |
filepath relative to the .zip file
Definition at line 66 of file CacheSystem.h.
Ogre::String RoR::CacheEntry::guid |
global unique id; Type "addonpart" leaves this empty and uses addonpart_guids
; Always lowercase.
Definition at line 77 of file CacheSystem.h.
bool RoR::CacheEntry::hasSubmeshs |
Definition at line 109 of file CacheSystem.h.
int RoR::CacheEntry::hydroscount |
Definition at line 114 of file CacheSystem.h.
bool RoR::CacheEntry::importcommands |
Definition at line 136 of file CacheSystem.h.
float RoR::CacheEntry::loadmass |
Definition at line 129 of file CacheSystem.h.
float RoR::CacheEntry::maxrpm |
Definition at line 131 of file CacheSystem.h.
float RoR::CacheEntry::minrpm |
Definition at line 130 of file CacheSystem.h.
int RoR::CacheEntry::nodecount |
Definition at line 110 of file CacheSystem.h.
CacheEntryID_t RoR::CacheEntry::number |
Sequential number, assigned internally, used by Selector-GUI.
Definition at line 64 of file CacheSystem.h.
int RoR::CacheEntry::numgears |
Definition at line 140 of file CacheSystem.h.
int RoR::CacheEntry::propscount |
Definition at line 119 of file CacheSystem.h.
int RoR::CacheEntry::propwheelcount |
Definition at line 116 of file CacheSystem.h.
bool RoR::CacheEntry::rescuer |
Definition at line 137 of file CacheSystem.h.
std::string RoR::CacheEntry::resource_bundle_path |
Path of ZIP or directory which contains the media. Shared between CacheEntries, loaded only once.
Definition at line 81 of file CacheSystem.h.
std::string RoR::CacheEntry::resource_bundle_type |
Archive type recognized by OGRE resource system: 'FileSystem' or 'Zip'.
Definition at line 80 of file CacheSystem.h.
Ogre::String RoR::CacheEntry::resource_group |
Resource group of the loaded bundle. Empty if not loaded yet.
Definition at line 89 of file CacheSystem.h.
int RoR::CacheEntry::rotatorscount |
Definition at line 123 of file CacheSystem.h.
std::vector<Ogre::String> RoR::CacheEntry::sectionconfigs |
Definition at line 142 of file CacheSystem.h.
int RoR::CacheEntry::shockcount |
Definition at line 112 of file CacheSystem.h.
std::shared_ptr<RoR::SkinDef> RoR::CacheEntry::skin_def |
Cached skin info, added on first use or during cache rebuild.
Definition at line 92 of file CacheSystem.h.
int RoR::CacheEntry::soundsourcescount |
Definition at line 126 of file CacheSystem.h.
Ogre::String RoR::CacheEntry::tags |
Definition at line 106 of file CacheSystem.h.
float RoR::CacheEntry::torque |
Definition at line 132 of file CacheSystem.h.
float RoR::CacheEntry::truckmass |
Definition at line 128 of file CacheSystem.h.
std::string RoR::CacheEntry::tuneup_associated_filename |
Value of 'filename' field in the tuneup file; always lowercase.
Definition at line 102 of file CacheSystem.h.
RoR::TuneupDefPtr RoR::CacheEntry::tuneup_def |
Cached tuning info, added on first use or during cache rebuild.
Definition at line 93 of file CacheSystem.h.
int RoR::CacheEntry::turbojetcount |
Definition at line 122 of file CacheSystem.h.
int RoR::CacheEntry::turbopropscount |
Definition at line 121 of file CacheSystem.h.
Ogre::String RoR::CacheEntry::uniqueid |
file's unique id
Definition at line 76 of file CacheSystem.h.
int RoR::CacheEntry::usagecounter |
how much it was used already
Definition at line 85 of file CacheSystem.h.
int RoR::CacheEntry::version |
file's version
Definition at line 78 of file CacheSystem.h.
int RoR::CacheEntry::wheelcount |
Definition at line 115 of file CacheSystem.h.
int RoR::CacheEntry::wingscount |
Definition at line 120 of file CacheSystem.h.