|
Empeld
Empeld plugin documentation.
|
Class that specifies the target of an RPC class More...
Public Member Functions | |
| override bool | Equals (object obj) |
| Compares two targets More... | |
| override int | GetHashCode () |
| Serves as a hash function for a pluginbase.Objects.Libs.Rpc.RpcTarget object. More... | |
Static Public Member Functions | |
| static bool | operator== (RpcTarget a, RpcTarget b) |
| Compares two targets More... | |
| static bool | operator!= (RpcTarget a, RpcTarget b) |
| Compares two targets More... | |
| static RpcTarget | Client (ushort id) |
| Create a target for a specific client More... | |
| static RpcTarget | Client (IUser user) |
| Create a target for a specific client More... | |
| static RpcTarget | ClientList (IEnumerable< ushort > ids) |
| Create a target for a list of clients More... | |
| static RpcTarget | ClientList (IEnumerable< IUser > users) |
| Create a target for a list of clients More... | |
Public Attributes | |
| readonly ushort [] | IdList |
| The list of clients (if any) the call is targeting More... | |
| readonly RpcTargetEnum | Target |
| The target enum More... | |
Static Public Attributes | |
| static readonly RpcTarget | Server = new RpcTarget(RpcTargetEnum.Server) |
| Static that only targets the server More... | |
| static readonly RpcTarget | Others = new RpcTarget(RpcTargetEnum.Others) |
| Static that only targets other clients More... | |
| static readonly RpcTarget | Everyone = new RpcTarget(RpcTargetEnum.Everyone) |
| Static that targets everyone and everything. More... | |
Properties | |
| bool | IsSingleTarget [get] |
| Gets a value indicating whether this instance is only targeting one client or only the server More... | |
Class that specifies the target of an RPC class
|
static |
Create a target for a specific client
| user | User. |
|
static |
|
static |
Create a target for a list of clients
| users | Users. |
| override bool pluginbase.Objects.Libs.Rpc.RpcTarget.Equals | ( | object | obj | ) |
| override int pluginbase.Objects.Libs.Rpc.RpcTarget.GetHashCode | ( | ) |
Serves as a hash function for a pluginbase.Objects.Libs.Rpc.RpcTarget object.
|
static |
Static that targets everyone and everything.
| readonly ushort [] pluginbase.Objects.Libs.Rpc.RpcTarget.IdList |
The list of clients (if any) the call is targeting
|
static |
Static that only targets other clients
|
static |
Static that only targets the server
| readonly RpcTargetEnum pluginbase.Objects.Libs.Rpc.RpcTarget.Target |
The target enum
|
get |
Gets a value indicating whether this instance is only targeting one client or only the server
true if this instance is single target; otherwise, false.