Server Initialization and Serverside Galaxy/Zone Delivery
Made the master server connect to the database and now it's listening for and responding correctly to GalaxyRequestMessages and ZoneRequestMessages, generating the zone contents if they do not yet exist.
This commit is contained in:
parent
95947355c2
commit
f8a6582154
34 changed files with 845 additions and 115 deletions
|
|
@ -52,6 +52,8 @@ public class SerializerTestWindow : EditorWindow
|
|||
}
|
||||
};
|
||||
|
||||
Converter.Serializer.Converters.Add(new MathJsonConverter());
|
||||
|
||||
// Set extensions to default resolver.
|
||||
var resolver = CompositeResolver.Create(
|
||||
MathResolver.Instance,
|
||||
|
|
@ -61,8 +63,6 @@ public class SerializerTestWindow : EditorWindow
|
|||
var options = MessagePackSerializerOptions.Standard.WithResolver(resolver);
|
||||
MessagePackSerializer.DefaultOptions = options;
|
||||
|
||||
Converter.Serializer.Converters.Add(new MathJsonConverter());
|
||||
|
||||
if (GUILayout.Button("Print MsgPack JSON"))
|
||||
Debug.Log(MessagePackSerializer.SerializeToJson(obj, options));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue