|
| override void | GetBoundingVolume (inout vector mins, inout vector maxs) |
| |
| override void | GetAxisAlignedBoundingVolume (inout vector mins, inout vector maxs) |
| |
| override void | CopyFromContainer (notnull SCR_ResourceContainer container) |
| |
| override bool | IsInRange (vector origin, float range) |
| |
| override void | DebugDraw (bool shouldShowRange=true) |
| |
| float | GetResourceValue () |
| |
| float | GetMaxResourceValue () |
| |
| float | GetWeightMultiplier () |
| |
| float | GetResourceGain () |
| |
| float | GetResourceDecay () |
| |
| float | GetResourceGainTickrate () |
| |
| float | GetResourceDecayTickrate () |
| |
| EResourceContainerStorageType | GetStorageType () |
| |
| EResourceType | GetResourceType () |
| |
| EResourceContainerOnEmptyBehavior | GetOnEmptyBehavior () |
| |
| SCR_ResourceEncapsulator | GetResourceEncapsulator () |
| |
| set< SCR_ResourceInteractor > | GetLinkedInteractors () |
| |
| array< SCR_ResourceInteractor > | GetLinkedInteractorsCopy () |
| |
| int | GetLinkedInteractorsCount () |
| |
| SCR_ResourceInteractor | GetLinkedInteractorAt (int index) |
| |
| int | GetLinkedInteractorIndex (notnull SCR_ResourceInteractor interactor) |
| |
| WorldTimestamp | GetLastUpdateTimestamp () |
| | Returns the timestamp that is aimed to be used for the computation of gain and decay.
|
| |
| bool | IsInteractorLinked (notnull SCR_ResourceInteractor interactor) |
| |
| bool | IsAllowed (notnull SCR_ResourceInteractor interactor) |
| |
| override bool | IsIsolated () |
| |
| bool | IsResourceDecayEnabled () |
| |
| bool | IsResourceGainEnabled () |
| |
| bool | IsEncapsulated () |
| |
| override bool | ShouldUpdate () |
| |
| bool | IsAllowedToStoreResource () |
| |
| bool | CanStoreResource () |
| |
| ScriptInvoker | GetOnResourcesChanged () |
| |
| ScriptInvoker | GetOnMaxResourcesChanged () |
| |
| ScriptInvoker | GetOnResourcesDepleted () |
| |
| ScriptInvoker | GetOnResourcesMaxedOut () |
| |
| ScriptInvoker | GetOnGainChanged () |
| |
| ScriptInvoker | GetOnDecayChanged () |
| |
| ScriptInvoker | GetOnGainEnabledChanged () |
| |
| ScriptInvoker | GetOnDecayEnabledChanged () |
| |
| void | SetLastUpdateTimestamp (WorldTimestamp timestamp) |
| | Sets the timestamp that is aimed to be used for the computation of gain and decay.
|
| |
| bool | SetResourceValue (float value, bool notifyChange=true) |
| | Sets the resource value of the container to the specified value, clamped to the maximum resource value.
|
| |
| bool | SetResourceValueUnsafe (float value, bool notifyChange=true) |
| | Unsafely sets the resource value of the container to the specified value, clamped to the maximum resource value.
|
| |
| bool | SetMaxResourceValue (float value, bool notifyChange=true) |
| |
| bool | SetResourceGain (float value, bool notifyChange=true) |
| |
| bool | SetResourceDecay (float value, bool notifyChange=true) |
| |
| void | SetResourceGainTickrate (float tickrate) |
| |
| void | SetResourceDecayTickrate (float tickrate) |
| |
| void | SetResourceGainTimeout (float timeout) |
| |
| void | SetResourceDecayTimeout (float timeout) |
| |
| void | SetResourceEncapsulator (SCR_ResourceEncapsulator encapsulator) |
| |
| bool | IncreaseResourceValue (float value, bool notifyChange=true) |
| |
| bool | DecreaseResourceValue (float value, bool notifyChange=true) |
| |
| bool | MaxOutResourceValue (bool notifyChange=true) |
| |
| bool | DepleteResourceValue (bool notifyChange=true) |
| |
| void | SetOnEmptyBehavior (EResourceContainerOnEmptyBehavior behavior) |
| |
| bool | LinkInteractor (notnull SCR_ResourceInteractor interactor) |
| |
| bool | UnlinkInteractor (notnull SCR_ResourceInteractor interactor) |
| |
| void | UnlinkEveryInteractor () |
| |
| bool | EnableGain (bool shouldEnable, bool notifyChange=true) |
| |
| bool | EnableDecay (bool shouldEnable, bool notifyChange=true) |
| |
| void | SetIsEncapsulated (bool shouldEnable) |
| |
| void | UpdateWeightMultiplier () |
| |
| override void | Update (WorldTimestamp timestamp) |
| | Method used to perform a periodic/iterative update on the state of the resource actor.
|
| |
| float | ComputeResourceDifference () |
| |
| void | Initialize (notnull IEntity owner, notnull SCR_ResourceContainer container) |
| |
| override void | Clear () |
| |
| Color | GetDebugColor () |
| |
| int | GetGridUpdateId () |
| |
| vector | GetOwnerOrigin () |
| |
| string | GetDebugName () |
| |
| int | GetDebugNameHash () |
| |
| SCR_ResourceComponent | GetComponent () |
| |
| IEntity | GetOwner () |
| |
| EResourceRights | GetResourceRight () |
| |
| bool | IsGridUpdateIdGreaterThan (int gridUpdateId) |
| |
| void | SetResourceRights (EResourceRights rights) |
| |
| void | SetGridUpdateId (int gridUpdateId) |
| |
| void | Update (float timeslice) |
| | Method used to perform a periodic/iterative update on the state of the resource actor.
|
| |
| void | UpdateInner (float timeslice) |
| |
| void | ~SCR_ResourceActor () |
| |