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:
hyperion51 2020-03-27 01:53:03 +00:00
commit f8a6582154
34 changed files with 845 additions and 115 deletions

View file

@ -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));