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;
|
||||
}
|
||||
|
||||
MethodDefinition serialize = new MethodDefinition("OnDeserialize", MethodAttributes.Public |
|
||||
MethodAttributes.Virtual |
|
||||
MethodAttributes.HideBySig,
|
||||
MethodDefinition serialize = new MethodDefinition("OnDeserialize",
|
||||
MethodAttributes.Public | MethodAttributes.Virtual | MethodAttributes.HideBySig,
|
||||
Weaver.voidType);
|
||||
|
||||
serialize.Parameters.Add(new ParameterDefinition("reader", ParameterAttributes.None, Weaver.scriptDef.MainModule.ImportReference(Weaver.NetworkReaderType)));
|
||||
|
Loading…
Reference in New Issue
Block a user