Class PlayerRPCs
Inheritance
System.Object
PlayerRPCs
Assembly: Eco.Gameplay.dll
Syntax
public static class PlayerRPCs : Object
Methods
ClientRPC(Player, String, Action, Object[])
Send Only to the Player's own client.
Declaration
public static void ClientRPC(this Player player, string method, Action callback, params object[] args)
Parameters
Type |
Name |
Description |
Player |
player |
|
System.String |
method |
|
System.Action |
callback |
|
System.Object[] |
args |
|
ClientRPC(Player, String, Object[])
Send Only to the Player's own client.
Declaration
public static void ClientRPC(this Player player, string method, params object[] args)
Parameters
Type |
Name |
Description |
Player |
player |
|
System.String |
method |
|
System.Object[] |
args |
|
EditMap(Player, MapEditRequest)
Declaration
public static Task<EditableOverlay> EditMap(this Player player, MapEditRequest mapEditRequest)
Parameters
Returns
SetPropertyClaimingMode(Player, PropertyClaimStyle, Nullable<WorldRange>, Nullable<SettlementType>, Settlement, Deed, String, String)
Declaration
public static void SetPropertyClaimingMode(this Player player, PropertyClaimStyle claimStyle, Nullable<WorldRange> occupancy = null, Nullable<SettlementType> settlementType = null, Settlement settlement = null, Deed deed = null, string overrideTitle = null, string overrideSubtitle = null)
Parameters
StopPropertyClaimingMode(Player)
Declaration
public static void StopPropertyClaimingMode(this Player player)
Parameters
Type |
Name |
Description |
Player |
player |
|