Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_CampaignBuildingNetworkComponent.c File Reference

Go to the source code of this file.

Data Structures

class  SCR_CampaignBuildingNetworkComponentClass
 

Functions

SCR_CampaignBuildingNetworkComponentClass ScriptComponentClass AddBuildingValue (int buildingValue, notnull IEntity compositionOutline)
 
void RemoveEditorMode (int playerID, IEntity provider)
 
void RequestEnterBuildingMode (IEntity provider, int playerID, bool UserActionActivationOnly, bool UserActionUsed)
 
void DeleteCompositionByUserAction (notnull IEntity composition)
 
void SendDeleteNotification (notnull IEntity composition, int playerId, int callsign)
 
void SetClientLock (bool lock, IEntity provider)
 
protected void RpcDo_SetClientLock (bool lock, RplId compId)
 Set a cooldown lock on client. More...
 
protected void RpcAsk_AddBuildingValue (int buildingValue, RplId compId)
 
protected void RpcAsk_RemoveEditorMode (int playerID, RplId compId)
 
protected void RpcAsk_RequestEnterBuildingMode (RplId rplProviderId, int playerID, bool UserActionActivationOnly, bool UserActionUsed)
 
protected void RpcAsk_DeleteCompositionByUserAction (RplId rplCompositionId)
 
protected void RpcAsk_SendDeleteNotification (RplId rplCompositionId, int playerId, int callsign)
 
protected void RpcAsk_AddXPReward (int playerId)
 
void AddXPReward (int playerId)
 
IEntity GetProviderFormRplId (RplId rplProviderId)
 

Function Documentation

◆ AddBuildingValue()

SCR_CampaignBuildingNetworkComponentClass ScriptComponentClass AddBuildingValue ( int  buildingValue,
notnull IEntity  compositionOutline 
)
Parameters
[in]buildingValue
[in]compositionOutline

Definition at line 12 of file SCR_CampaignBuildingNetworkComponent.c.

◆ AddXPReward()

void AddXPReward ( int  playerId)
Parameters
[in]playerId

Definition at line 223 of file SCR_CampaignBuildingNetworkComponent.c.

◆ DeleteCompositionByUserAction()

void DeleteCompositionByUserAction ( notnull IEntity  composition)

Delete composition by a tool

Parameters
[in]composition

Definition at line 52 of file SCR_CampaignBuildingNetworkComponent.c.

◆ GetProviderFormRplId()

IEntity GetProviderFormRplId ( RplId  rplProviderId)
Parameters
[in]rplProviderId
Returns

Definition at line 231 of file SCR_CampaignBuildingNetworkComponent.c.

◆ RemoveEditorMode()

void RemoveEditorMode ( int  playerID,
IEntity  provider 
)
Parameters
[in]playerID
[in]provider

Definition at line 25 of file SCR_CampaignBuildingNetworkComponent.c.

◆ RequestEnterBuildingMode()

void RequestEnterBuildingMode ( IEntity  provider,
int  playerID,
bool  UserActionActivationOnly,
bool  UserActionUsed 
)
Parameters
[in]provider
[in]playerID
[in]UserActionActivationOnly
[in]UserActionUsed

Definition at line 40 of file SCR_CampaignBuildingNetworkComponent.c.

◆ RpcAsk_AddBuildingValue()

protected void RpcAsk_AddBuildingValue ( int  buildingValue,
RplId  compId 
)

Add a building value to a composition outline. Once the define value is reach, composition will be spawned.

Parameters
[in]buildingValue
[in]compId

Definition at line 108 of file SCR_CampaignBuildingNetworkComponent.c.

◆ RpcAsk_AddXPReward()

protected void RpcAsk_AddXPReward ( int  playerId)

Increase XP

Parameters
[in]playerId

Definition at line 207 of file SCR_CampaignBuildingNetworkComponent.c.

◆ RpcAsk_DeleteCompositionByUserAction()

protected void RpcAsk_DeleteCompositionByUserAction ( RplId  rplCompositionId)

Delete composition, executed from user action

Parameters
[in]rplCompositionId

Definition at line 171 of file SCR_CampaignBuildingNetworkComponent.c.

◆ RpcAsk_RemoveEditorMode()

protected void RpcAsk_RemoveEditorMode ( int  playerID,
RplId  compId 
)

Delete given player building mode.

Parameters
[in]playerID
[in]compId

Definition at line 126 of file SCR_CampaignBuildingNetworkComponent.c.

◆ RpcAsk_RequestEnterBuildingMode()

protected void RpcAsk_RequestEnterBuildingMode ( RplId  rplProviderId,
int  playerID,
bool  UserActionActivationOnly,
bool  UserActionUsed 
)

Spawn a trigger as a child of the provider entity.

Parameters
[in]rplProviderId
[in]playerID
[in]UserActionActivationOnly
[in]UserActionUse

Definition at line 153 of file SCR_CampaignBuildingNetworkComponent.c.

◆ RpcAsk_SendDeleteNotification()

protected void RpcAsk_SendDeleteNotification ( RplId  rplCompositionId,
int  playerId,
int  callsign 
)

Send delete notification.

Parameters
[in]rplCompositionId
[in]playerId
[in]callsign

Definition at line 190 of file SCR_CampaignBuildingNetworkComponent.c.

◆ RpcDo_SetClientLock()

protected void RpcDo_SetClientLock ( bool  lock,
RplId  compId 
)

Set a cooldown lock on client.

Definition at line 88 of file SCR_CampaignBuildingNetworkComponent.c.

◆ SendDeleteNotification()

void SendDeleteNotification ( notnull IEntity  composition,
int  playerId,
int  callsign 
)

Send a notification about deleted composition

Parameters
[in]composition
[in]playerId
[in]callsign

Definition at line 66 of file SCR_CampaignBuildingNetworkComponent.c.

◆ SetClientLock()

void SetClientLock ( bool  lock,
IEntity  provider 
)

Definition at line 76 of file SCR_CampaignBuildingNetworkComponent.c.