示例#1
0
 public static TowerSyncData ReadData(NetIncomingMessage message)
 {
     return(new TowerSyncData(
                message.ReadUInt16(),
                message.ReadUInt16(),
                BuffDebuff.ReadData(message),
                EnemyVision.ReadData(message)
                ));
 }
示例#2
0
 public static MonsterSyncData ReadData(NetIncomingMessage message)
 {
     return(new MonsterSyncData(
                message.ReadUInt16(),
                message.ReadUInt16(),
                message.ReadFloat(),
                message.ReadFloat(),
                message.ReadFloat(),
                message.ReadFloat(),
                message.ReadByte(),
                BuffDebuff.ReadData(message)
                ));
 }
示例#3
0
 public static MinionSyncData ReadData(NetIncomingMessage message)
 {
     return(new MinionSyncData(
                message.ReadUInt16(),
                message.ReadUInt16(),
                message.ReadByte(),
                message.ReadFloat(),
                message.ReadFloat(),
                message.ReadFloat(),
                message.ReadFloat(),
                message.ReadByte(),
                BuffDebuff.ReadData(message),
                EnemyVision.ReadData(message)
                ));
 }