Esempio n. 1
0
		public override void Deserialize(GenericReader reader)
		{
			base.Deserialize(reader);

			var version = reader.GetVersion();

			switch (version)
			{
				case 0:
				{
					reader.ReadBlock(r => Local = reader.ReadTypeCreate<PvPBattleLocalBroadcasts>(r) ?? new PvPBattleLocalBroadcasts());
					reader.ReadBlock(r => World = reader.ReadTypeCreate<PvPBattleWorldBroadcasts>(r) ?? new PvPBattleWorldBroadcasts());
				}
					break;
			}
		}
Esempio n. 2
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            var version = reader.GetVersion();

            switch (version)
            {
            case 0:
            {
                reader.ReadBlock(r => Local = r.ReadTypeCreate <PvPBattleLocalBroadcasts>(r) ?? new PvPBattleLocalBroadcasts());
                reader.ReadBlock(r => World = r.ReadTypeCreate <PvPBattleWorldBroadcasts>(r) ?? new PvPBattleWorldBroadcasts());
            }
            break;
            }
        }
Esempio n. 3
0
		public PvPBattleBroadcasts()
		{
			Local = new PvPBattleLocalBroadcasts();
			World = new PvPBattleWorldBroadcasts();
		}
Esempio n. 4
0
 public PvPBattleBroadcasts()
 {
     Local = new PvPBattleLocalBroadcasts();
     World = new PvPBattleWorldBroadcasts();
 }