Class
Registry
: PersistentSingleton`1 : Singleton`1 : MonoBehaviour : Behaviour : Component : Object : Object0x00x0048
Members 4
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | ItemRegistry | List<ScheduleOne.Registry.ItemRegister> | Private | — | |
| 0x08 | ItemsAddedAtRuntime | List<ScheduleOne.Registry.ItemRegister> | Private | — | |
| 0x08 | ItemDictionary | Dictionary<System.Int32 | Private | — | |
| 0x08 | itemIDAliases | Dictionary<System.String | Private | — |
Inherited from Singleton`1 2
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | instance | Registry | PrivateStatic | — | |
| 0x0008 | 0x18 | padding / unreflected | |||
| 0x01 | Destroyed | bool | 1 flags | — | |
Inherited from MonoBehaviour 1
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_CancellationTokenSource | CancellationTokenSource | Private | — |
Inherited from Object 4
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_CachedPtr | long | Private | — | |
| 0x04 | OffsetOfInstanceIDInCPlusPlusObject | int | Static+1 flags | — | |
| — | 0x08 | objectIsNullMessage | string | PrivateStatic+1 flags | — |
| — | 0x08 | cloneDestroyedMessage | string | PrivateStatic+1 flags | — |
Functions 17
| Signature | Flags | Native | Params |
|---|---|---|---|
| void OnValidate() | Private | 0x00 | |
| void Awake() | 2 flags | 0x00 | |
| ItemDefinition GetItem(const string& ID) | PublicStatic | 0x08 | |
| bool ItemExists(const string& ID) | PublicStatic | 0x08 | |
| uint8 GetItem(const string& ID) | PublicStatic | 0x08 | |
| ItemDefinition _GetItem(const string& ID, bool warnIfNonExistent) | Public | 0x08 | |
| int GetHash(const string& ID) | PrivateStatic | 0x08 | |
| string RemoveAssetsAndPrefab(const string& originalString) | PrivateStatic | 0x08 | |
| void Start() | 2 flags | 0x00 | |
| void AddToRegistry(ItemDefinition item) | Public | 0x08 | |
| List<ScheduleOne.ItemFramework.ItemDefinition> GetAllItems() | Public | 0x08 | |
| void AddToItemDictionary(ItemRegister reg) | Private | 0x08 | |
| void RemoveItemFromDictionary(ItemRegister reg) | Private | 0x08 | |
| void RemoveRuntimeItems() | Public | 0x00 | |
| void RemoveFromRegistry(ItemDefinition item) | Public | 0x08 | |
| void LogOrderedUnlocks() | Public | 0x00 | |
| void .ctor() | Public+1 flags | 0x00 |