public static void Serialize(this NetworkWriter writer, MaintenanceMessage value)
        {
            var json = PlayFab.PluginManager.GetPlugin <ISerializerPlugin>(PluginContract.PlayFab_Serializer);
            var str  = json.SerializeObject(value.ScheduledMaintenanceUTC);

            writer.Write(str);
        }
        public static MaintenanceMessage Deserialize(this NetworkReader reader)
        {
            MaintenanceMessage msg = new MaintenanceMessage();

            var json = PlayFab.PluginManager.GetPlugin <ISerializerPlugin>(PluginContract.PlayFab_Serializer);

            msg.ScheduledMaintenanceUTC = json.DeserializeObject <DateTime>(reader.ReadString());

            return(msg);
        }
        public static MaintenanceMessage Deserialize(this NetworkReader reader)
        {
            var                json = PlayFab.PluginManager.GetPlugin <ISerializerPlugin>(PluginContract.PlayFab_Serializer);
            DateTime           ScheduledMaintenanceUTC = json.DeserializeObject <DateTime>(reader.ReadString());
            MaintenanceMessage value = new MaintenanceMessage
            {
                ScheduledMaintenanceUTC = ScheduledMaintenanceUTC
            };

            return(value);
        }