| 406 | }; |
| 407 | |
| 408 | struct CRPGStatsManager |
| 409 | { |
| 410 | CNamedElementManager<RPGEnumeration> modifierValueList; |
| 411 | CNamedElementManager<ModifierList> modifierList; |
| 412 | CNamedElementManager<CRPGStats_Object> objects; |
| 413 | CNamedElementManager<uint64_t> levelMods; |
| 414 | CNamedElementManager<uint64_t> deltaMods; |
| 415 | CNamedElementManager<uint64_t> treasureSubtables; |
| 416 | CNamedElementManager<uint64_t> treasureTables; |
| 417 | CNamedElementManager<uint64_t> itemTypes; |
| 418 | uint64_t unknown[47]; |
| 419 | PrimitiveSet<FixedString> ModifierFSSet; |
| 420 | uint64_t unknown2[165]; |
| 421 | |
| 422 | ModifierList * GetTypeInfo(CRPGStats_Object * object); |
| 423 | RPGEnumeration * GetAttributeInfo(CRPGStats_Object * object, const char * attributeName, int & attributeIndex); |
| 424 | std::optional<FixedString> GetAttributeFixedString(CRPGStats_Object * object, const char * attributeName); |
| 425 | std::optional<int> GetAttributeInt(CRPGStats_Object * object, const char * attributeName); |
| 426 | bool SetAttributeString(CRPGStats_Object * object, const char * attributeName, const char * value); |
| 427 | bool SetAttributeInt(CRPGStats_Object * object, const char * attributeName, int32_t value); |
| 428 | bool ObjectExists(FixedString statsId, FixedString type); |
| 429 | }; |
| 430 | |
| 431 | struct NetworkObjectFactory : public ObjectFactory |
| 432 | { |
nothing calls this directly
no outgoing calls
no test coverage detected