mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
Follow naming convention
This commit is contained in:
parent
85d26ebce6
commit
0fbcefe8df
@ -362,7 +362,7 @@ public static (List<FieldDefinition> syncVars, Dictionary<FieldDefinition, Field
|
|||||||
|
|
||||||
public static void WriteCallHookMethodUsingArgument(ILProcessor worker, MethodDefinition hookMethod, VariableDefinition oldValue)
|
public static void WriteCallHookMethodUsingArgument(ILProcessor worker, MethodDefinition hookMethod, VariableDefinition oldValue)
|
||||||
{
|
{
|
||||||
_WriteCallHookMethod(worker, hookMethod, oldValue, null);
|
WriteCallHookMethod(worker, hookMethod, oldValue, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void WriteCallHookMethodUsingField(ILProcessor worker, MethodDefinition hookMethod, VariableDefinition oldValue, FieldDefinition newValue)
|
public static void WriteCallHookMethodUsingField(ILProcessor worker, MethodDefinition hookMethod, VariableDefinition oldValue, FieldDefinition newValue)
|
||||||
@ -372,10 +372,10 @@ public static void WriteCallHookMethodUsingField(ILProcessor worker, MethodDefin
|
|||||||
Weaver.Error("NewValue field was null when writing SyncVar hook");
|
Weaver.Error("NewValue field was null when writing SyncVar hook");
|
||||||
}
|
}
|
||||||
|
|
||||||
_WriteCallHookMethod(worker, hookMethod, oldValue, newValue);
|
WriteCallHookMethod(worker, hookMethod, oldValue, newValue);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void _WriteCallHookMethod(ILProcessor worker, MethodDefinition hookMethod, VariableDefinition oldValue, FieldDefinition newValue)
|
static void WriteCallHookMethod(ILProcessor worker, MethodDefinition hookMethod, VariableDefinition oldValue, FieldDefinition newValue)
|
||||||
{
|
{
|
||||||
WriteStartFunctionCall();
|
WriteStartFunctionCall();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user