Table of Contents

Class NetworkRpc

Namespace
Netick
Assembly
Netick.dll
public class NetworkRpc
Inheritance
NetworkRpc
Inherited Members

Constructors

NetworkRpc(int)

public NetworkRpc(int maxPlayers)

Parameters

maxPlayers int

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

Methods

Init(int, INetickNetworkScript, bool, RpcPeers, int)

public NetworkRpc Init(int id, INetickNetworkScript behaviour, bool isReliable, RpcPeers target, int sizeWords)

Parameters

id int
behaviour INetickNetworkScript
isReliable bool
target RpcPeers
sizeWords int

Returns

NetworkRpc

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

Internal method. Never call this.

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

Parameters

engine NetickEngine
obj Entity
source RpcPeers
target RpcPeers
localInvoke bool
rpcId int

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

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

Internal method. Never call this.

public static NetworkRpc InternalCreateRpc(NetickEngine sandbox, NetworkConnection connection, int id, INetickNetworkScript behaviour, bool isReliable, RpcPeers target, int wordSize)

Parameters

sandbox NetickEngine
connection NetworkConnection
id int
behaviour INetickNetworkScript
isReliable bool
target RpcPeers
wordSize int

Returns

NetworkRpc

InternalIsResim(NetickEngine)

Internal method. Never call this.

public static bool InternalIsResim(NetickEngine sandbox)

Parameters

sandbox NetickEngine

Returns

bool

Recycle()

public void Recycle()

RegisterSent(NetworkConnection)

public void RegisterSent(NetworkConnection connection)

Parameters

connection NetworkConnection