|
override bool | CanInteractWith (notnull SCR_ResourceContainer container) |
|
override void | OnResourceGridUpdated (notnull SCR_ResourceGrid grid) |
| Gets called when the interactor container queue is updated by the resource grid.
|
|
void | OnBaseRegistered (notnull SCR_ServicePointComponent servicePoint, notnull SCR_MilitaryBaseComponent base) |
| Event that gets called upon a base registering the service.
|
|
void | OnBaseUnregistered (notnull SCR_ServicePointComponent servicePoint, notnull SCR_MilitaryBaseComponent base) |
| Event that gets called upon a base unregistering the service.
|
|
override void | Initialize (notnull IEntity owner) |
|
override void | Clear () |
|
override float | GetResourceGridRange () |
|
float | GetResourceRange () |
|
float | GetBuyMultiplier () |
|
float | GetSellMultiplier () |
|
override float | GetAggregatedResourceValue () |
|
override float | GetAggregatedMaxResourceValue () |
|
override int | GetContainerCount () |
|
override SCR_ResourceContainerQueueBase | GetContainerQueue () |
|
ScriptInvoker | GetOnResourceRangeChanged () |
|
ScriptInvoker | GetOnBuyMultiplierChanged () |
|
ScriptInvoker | GetOnSellMultiplierChanged () |
|
ScriptInvoker | GetOnConsumtionStateChanged () |
|
ScriptInvoker | GetOnExchangeStateChanged () |
|
EResourceGeneratorID | GetGeneratorIdentifier () |
|
override EResourceGeneratorID | GetIdentifier () |
|
bool | IsIgnoringItself () |
|
bool | IsConsuming () |
|
bool | IsExchanging () |
|
override bool | ShouldUpdate () |
|
override bool | CanInteractWith (notnull SCR_ResourceContainer container) |
|
override int | FindContainer (notnull SCR_ResourceContainer container) |
|
bool | SetResourceRange (float value, bool notifyChange=true) |
|
bool | SetBuyMultiplier (float value, bool notifyChange=true) |
|
bool | SetSellMultiplier (float value, bool notifyChange=true) |
|
bool | EnableConsumtion (bool shouldEnable, bool notifyChange=true) |
|
bool | EnableExchange (bool shouldEnable, bool notifyChange=true) |
|
override bool | RegisterContainer (notnull SCR_ResourceContainer container) |
|
override bool | RegisterContainerForced (notnull SCR_ResourceContainer container) |
|
override bool | UnregisterContainer (int containerIndex) |
|
override bool | UnregisterContainer (notnull SCR_ResourceContainer container) |
|
SCR_ResourceConsumtionResponse | RequestAvailability (float resourceCost, bool performFullQuery=false) |
|
SCR_ResourceConsumtionResponse | RequestConsumtion (float resourceCost) |
|
void | DebugDraw () |
|
override void | UpdateContainerResourceValue (SCR_ResourceContainer container, float previousValue) |
|
override void | UpdateContainerMaxResourceValue (SCR_ResourceContainer container, float previousValue) |
|
override void | Initialize (notnull IEntity owner) |
|
override void | Clear () |
|
override int | GetGridUpdateId () |
|
float | GetResourceGridRange () |
|
float | GetAggregatedResourceValue () |
|
float | GetAggregatedMaxResourceValue () |
|
int | GetContainerCount () |
|
vector | GetLastPosition () |
|
EResourceType | GetResourceType () |
|
SCR_ResourceContainerQueueBase | GetContainerQueue () |
|
ScriptInvoker< SCR_ResourceInteractor, float > | GetOnResourcesChanged () |
|
ScriptInvoker< SCR_ResourceInteractor, float > | GetOnMaxResourcesChanged () |
|
EResourceGeneratorID | GetIdentifier () |
|
override bool | IsGridUpdateIdGreaterThan (int gridUpdateId) |
|
bool | IsAllowed (notnull SCR_ResourceContainer container) |
|
bool | IsAllowed (notnull IEntity entity, EResourceType resourceType) |
|
bool | CanInteractWith (notnull SCR_ResourceContainer container) |
|
int | FindContainer (notnull SCR_ResourceContainer container) |
|
override void | SetGridUpdateId (int gridUpdateId) |
|
void | UpdateLastPosition () |
| Updates the last known position of the interactor.
|
|
bool | RegisterContainer (notnull SCR_ResourceContainer container) |
|
bool | RegisterContainerForced (notnull SCR_ResourceContainer container) |
|
bool | UnregisterContainer (int containerIndex) |
|
bool | UnregisterContainer (notnull SCR_ResourceContainer container) |
|
void | Replicate () |
|
void | ReplicateEx () |
|
void | UpdateContainerResourceValue (SCR_ResourceContainer container, float previousValue) |
|
void | UpdateContainerMaxResourceValue (SCR_ResourceContainer container, float previousValue) |
|
void | OnResourceGridUpdated (notnull SCR_ResourceGrid grid) |
| Gets called when the interactor container queue is updated by the resource grid.
|
|
void | OnResourcesChanged (float previousValue) |
|
void | OnMaxResourcesChanged (float previousValue) |
|
void | OnContainerRegistered (notnull SCR_ResourceContainer container) |
|
void | OnContainerUnregistered (notnull SCR_ResourceContainer container) |
|
void | Initialize (notnull IEntity owner) |
|
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 () |
|
|
static void | Encode (SSnapSerializerBase snapshot, ScriptCtx ctx, ScriptBitSerializer packet) |
|
static bool | Decode (ScriptBitSerializer packet, ScriptCtx ctx, SSnapSerializerBase snapshot) |
|
static bool | SnapCompare (SSnapSerializerBase lhs, SSnapSerializerBase rhs, ScriptCtx ctx) |
|
static bool | PropCompare (SCR_ResourceConsumer instance, SSnapSerializerBase snapshot, ScriptCtx ctx) |
|
static bool | Extract (SCR_ResourceConsumer instance, ScriptCtx ctx, SSnapSerializerBase snapshot) |
|
static bool | Inject (SSnapSerializerBase snapshot, ScriptCtx ctx, SCR_ResourceConsumer instance) |
|
string | m_sDebugName |
|
static const float | RESOURCES_LOWER_LIMIT = 0.0 |
|
static const int | CODEC_CONSUMER_PACKET_BYTESIZE = 38 |
|
static const float | UPDATE_PERIOD = 10.0 / 60.0 |
|
static const int | CODEC_GENERATOR_PACKET_BYTESIZE = 32 |
|