0x00x0108
Members 6
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x10 | OnResourceChanged | FMulticastScriptDelegate | 4 flags | <delegate> | |
| 0x10 | OnResourceIncreased | FMulticastScriptDelegate | 4 flags | <delegate> | |
| 0x10 | OnResourceFull | FMulticastScriptDelegate | 4 flags | <delegate> | |
| 0x10 | OnResourceAdded | FMulticastScriptDelegate | 4 flags | <delegate> | |
| 0x10 | Resources | TArray<UCappedResource*> | NetRepNotify+5 flags | [] | |
| 0x04 | ResourceCap | float | Protected+6 flags | -1 | |
| 0x0104 | 0x04 | unreflected bytes to end of UResourcesComponent | |||
Inherited from UActorComponent 15
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x30 | PrimaryComponentTick | FActorComponentTickFunction | 3 flags | {} | |
| 0x10 | ComponentTags | TArray<FName> | 4 flags | [] | |
| 0x10 | AssetUserData | TArray<UAssetUserData*> | Protected+6 flags | [] | |
| 0x0080 | 0x04 | padding / unreflected | |||
| 0x04 | UCSSerializationIndex | int32 | 5 flags | -1 | |
| 0x01 | bNetAddressable : 1bit 3 | bool | Protected+3 flags | false | |
| 0x01 | bReplicates : 1bit 4 | bool | Net+7 flags | false | |
| 0x01 | bAutoActivate : 1bit 7 | bool | 6 flags | false | |
| 0x01 | bIsActive : 1bit 0 | bool | NetTransient+4 flags | false | |
| 0x01 | bEditableWhenInherited : 1bit 1 | bool | 5 flags | true | |
| 0x01 | bCanEverAffectNavigation : 1bit 3 | bool | Protected+6 flags | false | |
| 0x01 | bIsEditorOnly : 1bit 5 | bool | 6 flags | false | |
| 0x008B | 0x01 | padding / unreflected | |||
| 0x01 | CreationMethod | EComponentCreationMethod | 5 flags | Native | |
| 0x01 | OnComponentActivated | FMulticastScriptDelegate | 4 flags | <delegate> | |
| 0x01 | OnComponentDeactivated | FMulticastScriptDelegate | 4 flags | <delegate> | |
| 0x008F | 0x01 | padding / unreflected | |||
| 0x10 | UCSModifiedProperties | TArray<FSimpleMemberReference> | 2 flags | [] | |
Functions 10
| Signature | Flags | Native | Params |
|---|---|---|---|
| void ResourceIncreased(UCappedResource* Resource, float Delta) | FinalNative+1 flags | 0x0C | |
| void ResourceFull(UCappedResource* Resource) | FinalNative+1 flags | 0x08 | |
| void ResourceChanged(UCappedResource* Resource, float currentAmount) | FinalNative+1 flags | 0x0C | |
| void OnRep_Resources() | FinalNative+1 flags | 0x00 | |
| int32 GetXPFromResourceMap(TMap<UResourceData*, float>& Resources) | FinalNative+2 flags | 0x54 | |
| int32 GetXpFromMining() | FinalNative+1 flags | 0x04 | |
| TMap<UResourceData*, float> GetSeparateResourcesFromMap(TMap<UResourceData*, float>& Resources) | FinalNative+2 flags | 0xA0 | |
| UCappedResource* GetResource(UResourceData* Data, bool createIfAmountIsZero) | FinalNative+1 flags | 0x18 | |
| float GetCapacityPct() | FinalNative+1 flags | 0x04 | |
| TArray<UCappedResource*> GetAllResources() | FinalNative+1 flags | 0x10 |