mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Syntax
This commit is contained in:
parent
f95f127ed1
commit
6c32dd561d
@ -461,9 +461,8 @@ void GenerateDeSerialization()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
MethodDefinition serialize = new MethodDefinition("OnDeserialize", MethodAttributes.Public |
|
MethodDefinition serialize = new MethodDefinition("OnDeserialize",
|
||||||
MethodAttributes.Virtual |
|
MethodAttributes.Public | MethodAttributes.Virtual | MethodAttributes.HideBySig,
|
||||||
MethodAttributes.HideBySig,
|
|
||||||
Weaver.voidType);
|
Weaver.voidType);
|
||||||
|
|
||||||
serialize.Parameters.Add(new ParameterDefinition("reader", ParameterAttributes.None, Weaver.scriptDef.MainModule.ImportReference(Weaver.NetworkReaderType)));
|
serialize.Parameters.Add(new ParameterDefinition("reader", ParameterAttributes.None, Weaver.scriptDef.MainModule.ImportReference(Weaver.NetworkReaderType)));
|
||||||
|
Loading…
Reference in New Issue
Block a user