Arma Reforger Script API
|
Public Member Functions | |
ScriptInvoker< SCR_ResourceGeneratorMilitaryBase, SCR_ResourceContainer > | GetOnBaseContainerRegistered () |
ScriptInvoker< SCR_ResourceGeneratorMilitaryBase, SCR_ResourceContainer > | GetOnBaseContainerUnregistered () |
override void | OnContainerRegistered (notnull SCR_ResourceContainer container) |
override void | OnContainerUnregistered (notnull SCR_ResourceContainer container) |
![]() | |
override float | GetResourceGridRange () |
float | GetStorageRange () |
float | GetResourceMultiplier () |
override EResourceGeneratorID | GetIdentifier () |
override float | GetAggregatedResourceValue () |
override float | GetAggregatedMaxResourceValue () |
override int | GetContainerCount () |
override SCR_ResourceContainerQueueBase | GetContainerQueue () |
bool | IsIgnoringItself () |
override bool | CanInteractWith (notnull SCR_ResourceContainer container) |
override int | FindContainer (notnull SCR_ResourceContainer container) |
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_ResourceGenerationResponse | RequestAvailability (float resourceAmount) |
SCR_ResourceGenerationResponse | RequestGeneration (float resourceAmount, SCR_ResourceGenerator generator=null) |
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 () |
vector | GetLastPosition () |
EResourceType | GetResourceType () |
ScriptInvoker< SCR_ResourceInteractor, float > | GetOnResourcesChanged () |
ScriptInvoker< SCR_ResourceInteractor, float > | GetOnMaxResourcesChanged () |
override bool | IsGridUpdateIdGreaterThan (int gridUpdateId) |
bool | IsAllowed (notnull SCR_ResourceContainer container) |
bool | IsAllowed (notnull IEntity entity, EResourceType resourceType) |
override void | SetGridUpdateId (int gridUpdateId) |
void | UpdateLastPosition () |
Updates the last known position of the interactor. | |
void | Replicate () |
void | ReplicateEx () |
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) |
![]() | |
Color | GetDebugColor () |
vector | GetOwnerOrigin () |
string | GetDebugName () |
int | GetDebugNameHash () |
SCR_ResourceComponent | GetComponent () |
IEntity | GetOwner () |
EResourceRights | GetResourceRight () |
bool | ShouldUpdate () |
bool | IsIsolated () |
void | SetResourceRights (EResourceRights rights) |
void | Update (float timeslice) |
Method used to perform a periodic/iterative update on the state of the resource actor. | |
void | Update (WorldTimestamp timestamp) |
Method used to perform a periodic/iterative update on the state of the resource actor. | |
void | UpdateInner (float timeslice) |
void | ~SCR_ResourceActor () |
Additional Inherited Members | |
![]() | |
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_ResourceGenerator instance, SSnapSerializerBase snapshot, ScriptCtx ctx) |
static bool | Extract (SCR_ResourceGenerator instance, ScriptCtx ctx, SSnapSerializerBase snapshot) |
static bool | Inject (SSnapSerializerBase snapshot, ScriptCtx ctx, SCR_ResourceGenerator instance) |
![]() | |
EResourceGeneratorID | m_eIdentifier |
![]() | |
string | m_sDebugName |
![]() | |
static const float | RESOURCES_LOWER_LIMIT = 0.0 |
![]() | |
bool | PropCompareNetworkedVariables (SSnapSerializerBase snapshot, ScriptCtx hint) |
bool | ExtractNetworkedVariables (SSnapSerializerBase snapshot, ScriptCtx hint) |
bool | InjectNetworkedVariables (SSnapSerializerBase snapshot, ScriptCtx hint) |
![]() | |
static const float | UPDATE_PERIOD = 10.0 / 60.0 |
static const int | CODEC_GENERATOR_PACKET_BYTESIZE = 32 |
ScriptInvoker< SCR_ResourceGeneratorMilitaryBase, SCR_ResourceContainer > SCR_ResourceGeneratorMilitaryBase.GetOnBaseContainerRegistered | ( | ) |
ScriptInvoker< SCR_ResourceGeneratorMilitaryBase, SCR_ResourceContainer > SCR_ResourceGeneratorMilitaryBase.GetOnBaseContainerUnregistered | ( | ) |
override void SCR_ResourceGeneratorMilitaryBase.OnContainerRegistered | ( | notnull SCR_ResourceContainer | container | ) |
[in] | container |
Implements SCR_ResourceInteractor.
override void SCR_ResourceGeneratorMilitaryBase.OnContainerUnregistered | ( | notnull SCR_ResourceContainer | container | ) |
[in] | container |
Implements SCR_ResourceInteractor.
|
protected |
|
protected |