Show / Hide Table of Contents

Class PlayerRPCs

Inheritance
System.Object
PlayerRPCs
Namespace: Eco.Gameplay.Players
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
Type Name Description
Player player
MapEditRequest mapEditRequest
Returns
Type Description
System.Threading.Tasks.Task<EditableOverlay>

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
Type Name Description
Player player
PropertyClaimStyle claimStyle
System.Nullable<WorldRange> occupancy
System.Nullable<SettlementType> settlementType
Settlement settlement
Deed deed
System.String overrideTitle
System.String overrideSubtitle

StopPropertyClaimingMode(Player)

Declaration
public static void StopPropertyClaimingMode(this Player player)
Parameters
Type Name Description
Player player
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾