File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Runtime/Colyseus/Serializer/Schema/Types Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -45,8 +45,12 @@ public class ReflectionType : Schema
45
45
/// <summary>
46
46
/// An <see cref="ArraySchema{T}" /> of <see cref="ReflectionField" />
47
47
/// </summary>
48
+ [ Preserve ]
48
49
[ Type ( 2 , "array" , typeof ( ArraySchema < ReflectionField > ) ) ]
49
50
public ArraySchema < ReflectionField > fields ;
51
+
52
+ [ Preserve ]
53
+ public ReflectionType ( ) { }
50
54
}
51
55
52
56
/// <summary>
@@ -58,6 +62,7 @@ public class Reflection : Schema
58
62
/// <summary>
59
63
/// An <see cref="ArraySchema{T}" /> of <see cref="ReflectionType" />
60
64
/// </summary>
65
+ [ Preserve ]
61
66
[ Type ( 0 , "array" , typeof ( ArraySchema < ReflectionType > ) ) ]
62
67
public ArraySchema < ReflectionType > types ;
63
68
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " io.colyseus.sdk" ,
3
- "version" : " 0.16.9 " ,
3
+ "version" : " 0.16.10 " ,
4
4
"displayName" : " Colyseus SDK" ,
5
5
"description" : " Colyseus Multiplayer SDK for Unity" ,
6
6
"unity" : " 2019.1" ,
You can’t perform that action at this time.
0 commit comments