示例#1
0
        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;
            }
            }
        }
示例#2
0
		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;
				}
			}
		}