Table of Contents

Class NetworkRpc

Namespace
Netick
Assembly
Netick.dll

Represents an RPC. Used internally only.

public class NetworkRpc
Inheritance
NetworkRpc
Inherited Members

Fields

Data

public int* Data

Field Value

int*

Id

public int Id

Field Value

int

SizeWords

public int SizeWords

Field Value

int

Target

public RpcPeers Target

Field Value

RpcPeers

Properties

SizeBytes

public int SizeBytes { get; }

Property Value

int

Methods

InternalCanInvoke(NetickEngine, Entity, RpcPeers, RpcPeers, bool, int, bool, NetworkPlayerId)

public static bool InternalCanInvoke(NetickEngine engine, Entity obj, RpcPeers source, RpcPeers target, bool localInvoke, int rpcId, bool isTargeted, NetworkPlayerId targetPlayer)

Parameters

engine NetickEngine
obj Entity
source RpcPeers
target RpcPeers
localInvoke bool
rpcId int
isTargeted bool
targetPlayer NetworkPlayerId

Returns

bool

InternalCanInvokeWithRID(NetickEngine, Entity, RpcPeers, RpcPeers, bool, int, bool, NetworkPlayerId, ref RpcContext)

Internal method. Never call this.

public static bool InternalCanInvokeWithRID(NetickEngine engine, Entity obj, RpcPeers source, RpcPeers target, bool localInvoke, int rpcHash, bool isTargeted, NetworkPlayerId targetPlayer, ref RpcContext rpcContext)

Parameters

engine NetickEngine
obj Entity
source RpcPeers
target RpcPeers
localInvoke bool
rpcHash int
isTargeted bool
targetPlayer NetworkPlayerId
rpcContext RpcContext

Returns

bool

InternalCanSend(NetickEngine, Entity, RpcPeers, RpcPeers, int)

Internal method. Never call this.

public static bool InternalCanSend(NetickEngine engine, Entity entity, RpcPeers source, RpcPeers target, int id)

Parameters

engine NetickEngine
entity Entity
source RpcPeers
target RpcPeers
id int

Returns

bool

InternalCreateRelayedRpc(NetickEngine, bool, NetworkPlayerId, NetworkPlayerId, int, INetickNetworkScript, bool, RpcPeers, int)

public static NetworkRpc InternalCreateRelayedRpc(NetickEngine engine, bool isTargeted, NetworkPlayerId sourcePlayer, NetworkPlayerId targetPlayer, int id, INetickNetworkScript behaviour, bool isReliable, RpcPeers target, int wordSize)

Parameters

engine NetickEngine
isTargeted bool
sourcePlayer NetworkPlayerId
targetPlayer NetworkPlayerId
id int
behaviour INetickNetworkScript
isReliable bool
target RpcPeers
wordSize int

Returns

NetworkRpc

InternalCreateRpc(NetickEngine, bool, NetworkPlayerId, int, INetickNetworkScript, bool, RpcPeers, int)

Internal method. Never call this.

public static NetworkRpc InternalCreateRpc(NetickEngine engine, bool isTargeted, NetworkPlayerId targetPlayer, int id, INetickNetworkScript behaviour, bool isReliable, RpcPeers target, int wordSize)

Parameters

engine NetickEngine
isTargeted bool
targetPlayer NetworkPlayerId
id int
behaviour INetickNetworkScript
isReliable bool
target RpcPeers
wordSize int

Returns

NetworkRpc

InternalIsResim(NetickEngine)

Internal method. Never call this.

public static bool InternalIsResim(NetickEngine engine)

Parameters

engine NetickEngine

Returns

bool