|
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 () |
|
void | GetBoundingVolume (inout vector mins, inout vector maxs) |
|
void | GetAxisAlignedBoundingVolume (inout vector mins, inout vector maxs) |
|
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) |
|
bool | IsInteractorLinked (notnull SCR_ResourceInteractor interactor) |
|
bool | IsAllowed (notnull SCR_ResourceInteractor interactor) |
|
override bool | IsIsolated () |
|
bool | IsInRange (vector origin, float range) |
|
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 () |
|
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 () |
|
void | DebugDraw (bool shouldShowRange=true) |
|
override void | Update (float timeslice) |
|
float | ComputeResourceDifference () |
|
void | CopyFromContainer (notnull SCR_ResourceContainer container) |
|
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 | ShouldUpdate () |
|
bool | IsIsolated () |
|
bool | IsGridUpdateIdGreaterThan (int gridUpdateId) |
|
void | SetResourceRights (EResourceRights rights) |
|
void | SetGridUpdateId (int gridUpdateId) |
|
void | Update (float timeslice) |
|
void | UpdateInner (float timeslice) |
|
void | Clear () |
|
void | ~SCR_ResourceActor () |
|