mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
add comment
This commit is contained in:
parent
038a1e3fd2
commit
2d004609c4
@ -34,7 +34,10 @@ public static MethodDefinition ProcessTargetRpcInvoke(TypeDefinition td, MethodD
|
||||
// NetworkConnection parameter is optional
|
||||
if (HasNetworkConnectionParameter(md))
|
||||
{
|
||||
// if call has NetworkConnection write clients connection as first arg
|
||||
// on server, the NetworkConnection parameter is a connection to client.
|
||||
// when the rpc is invoked on the client, it still has the same
|
||||
// function signature. we pass in the connection to server,
|
||||
// which is cleaner than just passing null)
|
||||
//NetworkClient.readyconnection
|
||||
worker.Emit(OpCodes.Call, WeaverTypes.ReadyConnectionReference);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user