public override int writeToBuff(ref NetOutputBuffer buff)
        {
            for (byte i = 0; i < GEMBAGINDEX; i++)
            {
                buff.WriteSByte(m_GemBagIndex[i]);
            }
            buff.WriteInt(m_Platform);

            return(NET_DEFINE.PACKET_HEADER_SIZE + getSize());
        }
Esempio n. 2
0
 public override int writeToBuff(ref NetOutputBuffer buff)
 {
     buff.WriteByte(m_Index);
     buff.WriteSByte(m_nRandomLevel);
     return(NET_DEFINE.PACKET_HEADER_SIZE + getSize());
 }