Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ResourceGenerator Class Reference
Inheritance diagram for SCR_ResourceGenerator:
SCR_ResourceGeneratorMilitaryBase SCR_ResourceGeneratorServicePoint

Protected Member Functions

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 ()
bool PropCompareNetworkedVariables (SSnapSerializerBase snapshot, ScriptCtx hint)
bool ExtractNetworkedVariables (SSnapSerializerBase snapshot, ScriptCtx hint)
bool InjectNetworkedVariables (SSnapSerializerBase snapshot, ScriptCtx hint)

Static Protected Member Functions

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)

Protected Attributes

float m_fResourceMultiplier
float m_fStorageRange
bool m_bIsIgnoringItself
ref SCR_ResourceGeneratorContainerQueue m_ContainerQueue
ref array< ref SCR_ResourceGeneratorActionBasem_aActions

Detailed Description

Definition at line 79 of file SCR_ResourceGenerator.c.

Member Function Documentation

◆ CanInteractWith()

override bool SCR_ResourceGenerator::CanInteractWith ( notnull SCR_ResourceContainer container)
inlineprotected

Definition at line 163 of file SCR_ResourceGenerator.c.

◆ Clear()

override void SCR_ResourceGenerator::Clear ( )
inlineprotected

Definition at line 325 of file SCR_ResourceGenerator.c.

◆ DebugDraw()

void SCR_ResourceGenerator::DebugDraw ( )
inlineprotected

Definition at line 270 of file SCR_ResourceGenerator.c.

◆ Decode()

bool SCR_ResourceGenerator::Decode ( ScriptBitSerializer packet,
ScriptCtx ctx,
SSnapSerializerBase snapshot )
inlinestaticprotected

Definition at line 401 of file SCR_ResourceGenerator.c.

◆ Encode()

void SCR_ResourceGenerator::Encode ( SSnapSerializerBase snapshot,
ScriptCtx ctx,
ScriptBitSerializer packet )
inlinestaticprotected

Definition at line 395 of file SCR_ResourceGenerator.c.

◆ Extract()

bool SCR_ResourceGenerator::Extract ( SCR_ResourceGenerator instance,
ScriptCtx ctx,
SSnapSerializerBase snapshot )
inlinestaticprotected

Definition at line 419 of file SCR_ResourceGenerator.c.

◆ ExtractNetworkedVariables()

bool SCR_ResourceGenerator::ExtractNetworkedVariables ( SSnapSerializerBase snapshot,
ScriptCtx hint )
inlineprotected

Definition at line 351 of file SCR_ResourceGenerator.c.

◆ FindContainer()

override int SCR_ResourceGenerator::FindContainer ( notnull SCR_ResourceContainer container)
inlineprotected

Definition at line 169 of file SCR_ResourceGenerator.c.

◆ GetAggregatedMaxResourceValue()

override float SCR_ResourceGenerator::GetAggregatedMaxResourceValue ( )
inlineprotected

Definition at line 133 of file SCR_ResourceGenerator.c.

◆ GetAggregatedResourceValue()

override float SCR_ResourceGenerator::GetAggregatedResourceValue ( )
inlineprotected

Definition at line 124 of file SCR_ResourceGenerator.c.

◆ GetContainerCount()

override int SCR_ResourceGenerator::GetContainerCount ( )
inlineprotected

Definition at line 142 of file SCR_ResourceGenerator.c.

◆ GetContainerQueue()

override SCR_ResourceContainerQueueBase SCR_ResourceGenerator::GetContainerQueue ( )
inlineprotected

Definition at line 151 of file SCR_ResourceGenerator.c.

◆ GetIdentifier()

override EResourceGeneratorID SCR_ResourceGenerator::GetIdentifier ( )
inlineprotected

Definition at line 118 of file SCR_ResourceGenerator.c.

◆ GetResourceGridRange()

override float SCR_ResourceGenerator::GetResourceGridRange ( )
inlineprotected

Definition at line 100 of file SCR_ResourceGenerator.c.

◆ GetResourceMultiplier()

float SCR_ResourceGenerator::GetResourceMultiplier ( )
inlineprotected

Definition at line 112 of file SCR_ResourceGenerator.c.

◆ GetStorageRange()

float SCR_ResourceGenerator::GetStorageRange ( )
inlineprotected

Definition at line 106 of file SCR_ResourceGenerator.c.

◆ Initialize()

override void SCR_ResourceGenerator::Initialize ( notnull IEntity owner)
inlineprotected

Definition at line 308 of file SCR_ResourceGenerator.c.

◆ Inject()

bool SCR_ResourceGenerator::Inject ( SSnapSerializerBase snapshot,
ScriptCtx ctx,
SCR_ResourceGenerator instance )
inlinestaticprotected

Definition at line 425 of file SCR_ResourceGenerator.c.

◆ InjectNetworkedVariables()

bool SCR_ResourceGenerator::InjectNetworkedVariables ( SSnapSerializerBase snapshot,
ScriptCtx hint )
inlineprotected

Definition at line 371 of file SCR_ResourceGenerator.c.

◆ IsIgnoringItself()

bool SCR_ResourceGenerator::IsIgnoringItself ( )
inlineprotected

Definition at line 157 of file SCR_ResourceGenerator.c.

◆ PropCompare()

bool SCR_ResourceGenerator::PropCompare ( SCR_ResourceGenerator instance,
SSnapSerializerBase snapshot,
ScriptCtx ctx )
inlinestaticprotected

Definition at line 413 of file SCR_ResourceGenerator.c.

◆ PropCompareNetworkedVariables()

bool SCR_ResourceGenerator::PropCompareNetworkedVariables ( SSnapSerializerBase snapshot,
ScriptCtx hint )
inlineprotected

Definition at line 336 of file SCR_ResourceGenerator.c.

◆ RegisterContainer()

override bool SCR_ResourceGenerator::RegisterContainer ( notnull SCR_ResourceContainer container)
inlineprotected

Definition at line 178 of file SCR_ResourceGenerator.c.

◆ RegisterContainerForced()

override bool SCR_ResourceGenerator::RegisterContainerForced ( notnull SCR_ResourceContainer container)
inlineprotected

Definition at line 193 of file SCR_ResourceGenerator.c.

◆ RequestAvailability()

SCR_ResourceGenerationResponse SCR_ResourceGenerator::RequestAvailability ( float resourceAmount)
inlineprotected

Definition at line 218 of file SCR_ResourceGenerator.c.

◆ RequestGeneration()

SCR_ResourceGenerationResponse SCR_ResourceGenerator::RequestGeneration ( float resourceAmount,
SCR_ResourceGenerator generator = null )
inlineprotected

Definition at line 245 of file SCR_ResourceGenerator.c.

◆ SnapCompare()

bool SCR_ResourceGenerator::SnapCompare ( SSnapSerializerBase lhs,
SSnapSerializerBase rhs,
ScriptCtx ctx )
inlinestaticprotected

Definition at line 407 of file SCR_ResourceGenerator.c.

◆ UnregisterContainer() [1/2]

override bool SCR_ResourceGenerator::UnregisterContainer ( int containerIndex)
inlineprotected

Definition at line 206 of file SCR_ResourceGenerator.c.

◆ UnregisterContainer() [2/2]

override bool SCR_ResourceGenerator::UnregisterContainer ( notnull SCR_ResourceContainer container)
inlineprotected

Definition at line 212 of file SCR_ResourceGenerator.c.

◆ UpdateContainerMaxResourceValue()

override void SCR_ResourceGenerator::UpdateContainerMaxResourceValue ( SCR_ResourceContainer container,
float previousValue )
inlineprotected

Definition at line 300 of file SCR_ResourceGenerator.c.

◆ UpdateContainerResourceValue()

override void SCR_ResourceGenerator::UpdateContainerResourceValue ( SCR_ResourceContainer container,
float previousValue )
inlineprotected

Definition at line 292 of file SCR_ResourceGenerator.c.

Member Data Documentation

◆ m_aActions

ref array<ref SCR_ResourceGeneratorActionBase> SCR_ResourceGenerator::m_aActions
protected

Definition at line 97 of file SCR_ResourceGenerator.c.

◆ m_bIsIgnoringItself

bool SCR_ResourceGenerator::m_bIsIgnoringItself
protected

Definition at line 91 of file SCR_ResourceGenerator.c.

◆ m_ContainerQueue

ref SCR_ResourceGeneratorContainerQueue SCR_ResourceGenerator::m_ContainerQueue
protected

Definition at line 94 of file SCR_ResourceGenerator.c.

◆ m_fResourceMultiplier

float SCR_ResourceGenerator::m_fResourceMultiplier
protected

Definition at line 85 of file SCR_ResourceGenerator.c.

◆ m_fStorageRange

float SCR_ResourceGenerator::m_fStorageRange
protected

Definition at line 88 of file SCR_ResourceGenerator.c.


The documentation for this class was generated from the following file: