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
SizeWords
public int SizeWords
Field Value
Target
public RpcPeers Target
Field Value
Methods
Init(int, INetickNetworkScript, bool, RpcPeers, int)
public NetworkRpc Init(int id, INetickNetworkScript behaviour, bool isReliable, RpcPeers target, int sizeWords)
Parameters
id
intbehaviour
INetickNetworkScriptisReliable
booltarget
RpcPeerssizeWords
int
Returns
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
Returns
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
NetickEngineentity
Entitysource
RpcPeerstarget
RpcPeersid
int
Returns
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
NetickEngineconnection
NetworkConnectionid
intbehaviour
INetickNetworkScriptisReliable
booltarget
RpcPeerswordSize
int
Returns
InternalIsResim(NetickEngine)
Internal method. Never call this.
public static bool InternalIsResim(NetickEngine sandbox)
Parameters
sandbox
NetickEngine
Returns
Recycle()
public void Recycle()
RegisterSent(NetworkConnection)
public void RegisterSent(NetworkConnection connection)
Parameters
connection
NetworkConnection