public static object Deserializer(System.Type expected, global::Orleans.Serialization.BinaryTokenStreamReader stream)
 {
     Shared.PlayerCreateData result = new Shared.PlayerCreateData();
     result.AccountName = ((string)(Orleans.Serialization.SerializationManager.DeserializeInner(typeof(string), stream)));
     result.CreateData = ((Shared.CMSG_CHAR_CREATE)(Orleans.Serialization.SerializationManager.DeserializeInner(typeof(Shared.CMSG_CHAR_CREATE), stream)));
     result.RealmID = ((int)(Orleans.Serialization.SerializationManager.DeserializeInner(typeof(int), stream)));
     return result;
 }
 public static object DeepCopier(object original)
 {
     Shared.PlayerCreateData input = ((Shared.PlayerCreateData)(original));
     Shared.PlayerCreateData result = new Shared.PlayerCreateData();
     Orleans.Serialization.SerializationContext.Current.RecordObject(original, result);
     result.AccountName = input.AccountName;
     result.CreateData = input.CreateData;
     result.RealmID = input.RealmID;
     return result;
 }