![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Takes care of Campaign-specific server <> client communication and requests. More...
Protected Member Functions | |
| WorldTimestamp | GetLastRequestTimestamp () |
| SCR_ResourceComponent | GetLastLoadedComponent () |
| void | SetLastRequestTimestamp (WorldTimestamp timestamp) |
| bool | IsProxy () |
| void | RepairComposition (int index, int repairCost, int destructibleID, SCR_SiteSlotEntity slotEnt, notnull SCR_CampaignMilitaryBaseComponent base) |
| Repair destroyed mandatory part of composition. | |
| void | RpcAsk_RepairComposition (int index, int repairCost, int destructibleID, RplId slotID, RplId baseID) |
| Repair damaged entity in composition. | |
| void | SendPlayerMessage (SCR_ERadioMsg msgType, int baseCallsign=SCR_MilitaryBaseComponent.INVALID_BASE_CALLSIGN, int calledID=SCR_CampaignMilitaryBaseComponent.INVALID_PLAYER_INDEX, bool public=true, int param=SCR_CampaignRadioMsg.INVALID_RADIO_MSG_PARAM, bool checkHQReached=false) |
| void | SetLastHQRadioMessageTimestamp (WorldTimestamp time) |
| int | CompressCallsign (int company, int platoon, int squad, int character) |
| void | DecompressCallsign (int callsign, out int company, out int platoon, out int squad, out int character) |
| void | RpcDo_PlayerFeedback (int msgID) |
| void | RpcDo_PlayerFeedbackValueBase (int msgID, float value, int baseID) |
| void | RpcDo_PlayerFeedbackBase (int msgID, int baseID) |
| void | PlayerFeedbackImpl (int msgID, float value=0, int assetID=-1, int baseID=-1) |
| void | SendVehicleSpawnHint (int hintID) |
| void | RpcDo_VehicleSpawnHint (int hintID) |
| void | RespawnLocationPopup (int baseID) |
| void | OnPlayerAliveStateChanged (bool alive) |
| void | RpcDo_UpdatePlayerSpawnHint (bool show, vector position) |
| void | HandleRadioRespawnTimer (RplId spawnPointId) |
| void | RpcAsk_HandleRadioRespawnTimer (RplId selectedSpawnPointId) |
| void | PlayTaskNotificationMsg (SCR_ETaskNotification taskNotification, SCR_ETaskNotificationMsg msg, int factionId, int baseCallsign, int callerGroupId, int calledGroupId, int grid, float quality, int playerID) |
| void | RpcDo_PlayTaskNotificationMsg (SCR_ETaskNotification taskNotification, SCR_ETaskNotificationMsg msg, int factionId, int baseCallsign, int callerGroupId, int calledGroupId, int grid, float quality) |
| void | PlayRadioMsg (SCR_ERadioMsg msg, int FactionId, int baseCallsign, int callerCallsignCompany, int callerCallsignPlatoon, int callerCallsignSquad, int callerCallsignCharacter, int calledCallsignCompany, int calledCallsignPlatoon, int calledCallsignSquad, int calledCallsignCharacter, bool isPublic, int param, float seed, float quality, int playerID) |
| void | RpcDo_PlayRadioMsg (SCR_ERadioMsg msg, int factionId, int baseCallsign, int callerCallsign, int calledCallsign, int param, float seed, float quality) |
| void | OnBeforePlayerInteraction (EResourcePlayerInteractionType interactionType, PlayerController playerController, SCR_ResourceComponent resourceComponentFrom, SCR_ResourceComponent resourceComponentTo, EResourceType resourceType, float resourceValue) |
| Callback. | |
| void | OnPlayerSuppliesInteraction (EResourcePlayerInteractionType interactionType, PlayerController playerController, SCR_ResourceComponent resourceComponentFrom, SCR_ResourceComponent resourceComponentTo, EResourceType resourceType, float resourceValue) |
| void | OnSuppliesLoaded (vector position, float amount, notnull SCR_ResourceComponent resourceComponentTo) |
| void | OnSuppliesUnloaded (vector position, float amount, int playerId, notnull SCR_ResourceComponent resourceComponentFrom, int assistantId=0) |
| void | ResetSavedSupplies () |
| void | EOnInit (IEntity owner) |
| void | OnPostInit (IEntity owner) |
| void | ~SCR_CampaignNetworkComponent () |
Static Protected Member Functions | |
| static SCR_CampaignNetworkComponent | GetCampaignNetworkComponent (int playerID) |
| static ScriptInvokerInt3 | GetOnSuppliesDelivered () |
| static ScriptInvokerTransferSupplies | GetOnTransferSupplies () |
Protected Attributes | |
| SCR_PlayerController | m_PlayerController |
| RplComponent | m_RplComponent |
| bool | m_bFirstSpawn = true |
| vector | m_vLastLoadedAt |
| SCR_ResourceComponent | m_LastLoadedComponent |
| float | m_fLoadedSupplyAmount |
| bool | m_bOrphanSuppliesLoaded |
| float | m_fNoRewardSupplies |
| int | m_iTotalSuppliesDelivered |
| WorldTimestamp | m_fLastAssetRequestTimestamp |
| WorldTimestamp | m_fLastHQRadioMessageTimestamp |
Static Protected Attributes | |
| static ref ScriptInvokerInt3 | s_OnSuppliesDelivered |
| static ref ScriptInvokerTransferSupplies | s_OnSuppliesTransferred |
| static const int | SUPPLY_DELIVERY_XP_PERCENT = 100 |
| static const int | SUPPLY_DELIVERY_THRESHOLD_SQ = 200 * 200 |
Takes care of Campaign-specific server <> client communication and requests.
Definition at line 24 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
Definition at line 890 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
Definition at line 284 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
Definition at line 290 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
Definition at line 854 of file SCR_CampaignNetworkComponent.c.
|
inlinestaticprotected |
|
inlineprotected |
Definition at line 83 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
Definition at line 77 of file SCR_CampaignNetworkComponent.c.
|
inlinestaticprotected |
Definition at line 101 of file SCR_CampaignNetworkComponent.c.
|
inlinestaticprotected |
Definition at line 111 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
Definition at line 529 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
Definition at line 121 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
Callback.
Definition at line 666 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
| [in] | alive |
Definition at line 486 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
| [in] | interactionType | |
| [in] | playerController | |
| [in] | resourceComponentFrom | |
| [in] | resourceComponentTo | |
| [in] | resourceType | |
| [in] | resourceValue |
Definition at line 687 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
Definition at line 882 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
Definition at line 730 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
Definition at line 774 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
Show notification about request result to the requester
| [in] | msgID | Message ID (see ECampaignClientNotificationID) |
| [in] | value | |
| [in] | assetID | |
| [in] | baseID |
Definition at line 341 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
| [in] | msg | |
| [in] | FactionId | |
| [in] | baseCallsign | |
| [in] | callerCallsignCompany | |
| [in] | callerCallsignPlatoon | |
| [in] | callerCallsignSquad | |
| [in] | callerCallsignCharacter | |
| [in] | calledCallsignCompany | |
| [in] | calledCallsignPlatoon | |
| [in] | calledCallsignSquad | |
| [in] | calledCallsignCharacter | |
| [in] | isPublic | |
| [in] | param | |
| [in] | seed | |
| [in] | quality | |
| [in] | playerID |
Definition at line 631 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
Play task notification msg
| [in] | taskNotification | |
| [in] | msg | |
| [in] | factionId | |
| [in] | baseCallsign | |
| [in] | callerGroupId | |
| [in] | calledGroupId | |
| [in] | grid | |
| [in] | quality | |
| [in] | playerID |
Definition at line 592 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
Repair destroyed mandatory part of composition.
Definition at line 128 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
Definition at line 845 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
| [in] | baseID |
Definition at line 479 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
Definition at line 541 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
Repair damaged entity in composition.
Definition at line 142 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
Show notification about request result to the requester
| [in] | msgID | Message ID (see ECampaignClientNotificationID) |
Definition at line 308 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
Show notification about request result to the requester
| [in] | msgID | Message ID (see ECampaignClientNotificationID) |
| [in] | baseID |
Definition at line 330 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
Show notification about request result to the requester
| [in] | msgID | Message ID (see ECampaignClientNotificationID) |
| [in] | value | |
| [in] | baseID |
Definition at line 319 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
| [in] | msg | |
| [in] | factionId | |
| [in] | baseCallsign | |
| [in] | callerCallsign | |
| [in] | calledCallsign | |
| [in] | param | |
| [in] | seed | |
| [in] | quality |
Definition at line 648 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
Definition at line 604 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
Definition at line 522 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
Definition at line 466 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
Server side method used to send a notification to the owner of the controller on which component resides
| [in] | msgType | |
| [in] | baseCallsign | |
| [in] | calledID | |
| [in] | public | |
| [in] | param | |
| [in] | checkHQReached |
Definition at line 200 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
| [in] | hintID |
Definition at line 459 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
| [in] | time |
Definition at line 277 of file SCR_CampaignNetworkComponent.c.
|
inlineprotected |
| [in] | request | cooldown timestamp |
Definition at line 90 of file SCR_CampaignNetworkComponent.c.
Definition at line 29 of file SCR_CampaignNetworkComponent.c.
|
protected |
Definition at line 34 of file SCR_CampaignNetworkComponent.c.
|
protected |
Definition at line 51 of file SCR_CampaignNetworkComponent.c.
|
protected |
Definition at line 54 of file SCR_CampaignNetworkComponent.c.
|
protected |
Definition at line 33 of file SCR_CampaignNetworkComponent.c.
|
protected |
Definition at line 36 of file SCR_CampaignNetworkComponent.c.
|
protected |
Definition at line 38 of file SCR_CampaignNetworkComponent.c.
|
protected |
Definition at line 32 of file SCR_CampaignNetworkComponent.c.
|
protected |
Definition at line 27 of file SCR_CampaignNetworkComponent.c.
|
protected |
Definition at line 28 of file SCR_CampaignNetworkComponent.c.
|
protected |
Definition at line 31 of file SCR_CampaignNetworkComponent.c.
|
staticprotected |
Definition at line 40 of file SCR_CampaignNetworkComponent.c.
|
staticprotected |
Definition at line 41 of file SCR_CampaignNetworkComponent.c.
|
staticprotected |
Definition at line 44 of file SCR_CampaignNetworkComponent.c.
|
staticprotected |
Definition at line 43 of file SCR_CampaignNetworkComponent.c.