Ejemplo n.º 1
0
    public int writeToBuff(ref NetOutputBuffer buff)
    {
        buff.WriteFloat(m_fX);
        buff.WriteFloat(m_fZ);

        return(getSize());
    }
Ejemplo n.º 2
0
    public int writeToBuff(ref NetOutputBuffer buff)
    {
        buff.WriteFloat(m_nSkillID);
        buff.WriteFloat(m_nSkillTime);

        return(getSize());
    }
Ejemplo n.º 3
0
 public override int writeToBuff(ref NetOutputBuffer buff)
 {
     buff.WriteUint(m_ObjID);
     m_posWorld.writeToBuff(ref buff);
     buff.WriteFloat(m_fDir);
     buff.WriteFloat(m_fMoveSpeed);
     return(NET_DEFINE.PACKET_HEADER_SIZE + getSize());
 }
Ejemplo n.º 4
0
 public override int writeToBuff(ref NetOutputBuffer buff)
 {
     buff.WriteInt(m_ObjID);
     buff.WriteShort(m_SkillDataID);
     m_posUser.writeToBuff(ref buff);
     buff.WriteInt(m_TargetID);
     m_posTarget.writeToBuff(ref buff);
     buff.WriteFloat(m_fDir);
     buff.WriteFloat(m_nTotalTime);
     return(NET_DEFINE.PACKET_HEADER_SIZE + getSize());
 }
Ejemplo n.º 5
0
 public override int writeToBuff(ref NetOutputBuffer buff)
 {
     buff.WriteUint(m_ObjID);
     buff.WriteInt(m_nHandleID);
     m_posWorld.writeToBuff(ref buff);
     buff.WriteFloat(m_fMoveSpeed);
     m_posTarget.writeToBuff(ref buff);
     buff.WriteByte(m_IsNPC);
     return((int)NET_DEFINE.PACKET_HEADER_SIZE + getSize());
 }
Ejemplo n.º 6
0
        public override int writeToBuff(ref NetOutputBuffer buff)
        {
            buff.WriteByte(m_BagIndex);
            buff.WriteUint(m_Target);
            m_posTarget.writeToBuff(ref buff);
            buff.WriteFloat(m_fDir);
            m_TargetPetGUID.writeToBuff(ref buff);
            buff.WriteByte(m_TargetItemIndex);

            return(NET_DEFINE.PACKET_HEADER_SIZE + getSize());
        }
Ejemplo n.º 7
0
 public int writeToBuff(ref NetOutputBuffer buff)
 {
     buff.WriteFloat(m_nXinFaID);
     buff.WriteFloat(m_nXinFaLevel);
     return(getSize());
 }