public RaffleEntry( GenericReader reader, int version ) { switch ( version ) { case 0: { m_From = reader.ReadMobile(); m_Address = Utility.Intern( reader.ReadIPAddress() ); m_Date = reader.ReadDateTime(); break; } } }
public ShardPollOption( GenericReader reader ) { int version = reader.ReadInt(); switch ( version ) { case 0: { m_Title = reader.ReadString(); m_LineBreaks = GetBreaks( m_Title ); m_Voters = new IPAddress[reader.ReadInt()]; for ( int i = 0; i < m_Voters.Length; ++i ) m_Voters[i] = reader.ReadIPAddress(); break; } } }
public Voter( GenericReader reader, Mobile candidate ) { m_Candidate = candidate; int version = reader.ReadEncodedInt(); switch ( version ) { case 0: { m_From = reader.ReadMobile(); m_Address = reader.ReadIPAddress(); m_Time = reader.ReadDateTime(); break; } } }