public DDTeamInfo(int teamID, GenericReader ip) { m_TeamID = teamID; m_Players = new Dictionary <Mobile, DDPlayerInfo>(); int version = ip.ReadEncodedInt(); switch (version) { case 0: { m_Board = ip.ReadItem() as DDBoard; m_Name = ip.ReadString(); m_Color = ip.ReadEncodedInt(); m_Origin = ip.ReadPoint3D(); break; } } }
public DDTeamInfo( int teamID, GenericReader ip ) { m_TeamID = teamID; m_Players = new Dictionary<Mobile, DDPlayerInfo>(); int version = ip.ReadEncodedInt(); switch ( version ) { case 0: { m_Board = ip.ReadItem() as DDBoard; m_Name = ip.ReadString(); m_Color = ip.ReadEncodedInt(); m_Origin = ip.ReadPoint3D(); break; } } }