コード例 #1
0
 public override void Serialize(WfPacket w)
 {
     w.Write(m_ObjId);
     w.Write(m_SkillId);
     w.Write(m_x);
     w.Write(m_y);
     w.Write(m_TargetId);
 }
コード例 #2
0
 public override void Serialize(WfPacket w)
 {
     w.Write(m_type);
     w.Write(m_account);
     w.Write(m_pwd);
     w.Write(m_equipment);
     w.Write(m_machine);
 }
コード例 #3
0
    private static void OnClientMsg(ClientSession socket, WfPacket pak)
    {
        int      logicCount = pak.ReadInt();
        WfPacket msg        = new WfPacket(0, 300);

        msg.Write((int)logicCount);
        KCPNet.SendPacket(socket, msg);
        UnityEngine.Debug.Log("Send msg" + logicCount.ToString());
    }
コード例 #4
0
    public override void Serialize(WfPacket w)
    {
        int _TempSize = 0;

        _TempSize = datas.Count;
        w.Write(_TempSize);
        for (int i = 0; i < _TempSize; ++i)
        {
            var _var = datas[i];
            _var.Serialize(w);
        }
    }
コード例 #5
0
    public override void Serialize(WfPacket w)
    {
        w.Write(m_ObjId);
        w.Write(m_curx);
        w.Write(m_curz);
        int _TempSize = 0;

        _TempSize = m_xlist.Count;
        w.Write(_TempSize);
        for (int i = 0; i < _TempSize; ++i)
        {
            var _var = m_xlist[i];
            w.Write(_var);
        }

        _TempSize = m_zlist.Count;
        w.Write(_TempSize);
        for (int i = 0; i < _TempSize; ++i)
        {
            var _var = m_zlist[i];
            w.Write(_var);
        }
    }
コード例 #6
0
 public override void Serialize(WfPacket w)
 {
     w.Write(m_playerid);
     w.Write(m_name);
     w.Write(m_jobid);
 }
コード例 #7
0
 public override void Serialize(WfPacket w)
 {
     w.Write(m_TemplateId);
     w.Write(m_ObjectType);
     w.Write(m_EntityId);
 }
コード例 #8
0
 public override void Serialize(WfPacket w)
 {
     w.Write(m_PlayerId);
     w.Write(m_ObjId);
 }
コード例 #9
0
 public override void Serialize(WfPacket w)
 {
     w.Write(m_RoomId);
 }
コード例 #10
0
ファイル: Packet_Notice.cs プロジェクト: zjljxsc/cshotfix
 public override void Serialize(WfPacket w)
 {
     w.Write(m_content);
 }
コード例 #11
0
 public override void Serialize(WfPacket w)
 {
     w.Write(m_rst);
     w.Write(m_sessionid);
 }
コード例 #12
0
 public override void Serialize(WfPacket w)
 {
     w.Write(m_playerid);
     w.Write(m_nickname);
     w.Write(m_money);
 }
コード例 #13
0
 public override void Serialize(WfPacket w)
 {
     w.Write(m_rst);
     w.Write(m_playerid);
 }
コード例 #14
0
 public override void Serialize(WfPacket w)
 {
     w.Write(m_account);
     w.Write(m_pwd);
 }