mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
syntax
This commit is contained in:
parent
8647efc297
commit
a797c9733a
@ -21,12 +21,10 @@ class Invoker
|
||||
public RemoteCallDelegate function;
|
||||
public bool cmdRequiresAuthority;
|
||||
|
||||
public bool AreEqual(Type componentType, RemoteCallType remoteCallType, RemoteCallDelegate invokeFunction)
|
||||
{
|
||||
return (this.componentType == componentType &&
|
||||
this.callType == remoteCallType &&
|
||||
this.function == invokeFunction);
|
||||
}
|
||||
public bool AreEqual(Type componentType, RemoteCallType remoteCallType, RemoteCallDelegate invokeFunction) =>
|
||||
this.componentType == componentType &&
|
||||
this.callType == remoteCallType &&
|
||||
this.function == invokeFunction;
|
||||
}
|
||||
|
||||
/// <summary>Used to help manage remote calls for NetworkBehaviours</summary>
|
||||
|
Loading…
Reference in New Issue
Block a user