mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
SyncEventProcessor.ProcessEvents syntax simplified
This commit is contained in:
parent
d0fa4505d8
commit
7c03bc1eb2
@ -127,7 +127,7 @@ public static void ProcessEvents(TypeDefinition td, List<EventDefinition> events
|
||||
}
|
||||
|
||||
events.Add(ed);
|
||||
MethodDefinition eventFunc = SyncEventProcessor.ProcessEventInvoke(td, ed);
|
||||
MethodDefinition eventFunc = ProcessEventInvoke(td, ed);
|
||||
if (eventFunc == null)
|
||||
{
|
||||
return;
|
||||
@ -138,7 +138,7 @@ public static void ProcessEvents(TypeDefinition td, List<EventDefinition> events
|
||||
|
||||
Weaver.DLog(td, "ProcessEvent " + ed);
|
||||
|
||||
MethodDefinition eventCallFunc = SyncEventProcessor.ProcessEventCall(td, ed, ca);
|
||||
MethodDefinition eventCallFunc = ProcessEventCall(td, ed, ca);
|
||||
td.Methods.Add(eventCallFunc);
|
||||
|
||||
Weaver.lists.replacedEvents.Add(ed);
|
||||
|
Loading…
Reference in New Issue
Block a user