Пример #1
0
 public void Read(ReadBufferHelper bh)
 {
     nRetCode       = bh.ReadUint16();
     u64CharID      = bh.ReadUint64();
     dwIdentifyCode = bh.ReadUint32();
     nProxyPort     = bh.ReadUint16();
     szProxyIpAddr  = bh.ReadFixString(32);
     return;
 }
Пример #2
0
 public void Read(ReadBufferHelper bh)
 {
     nRetCode = bh.ReadUint16();
     dwAccountID = bh.ReadUint32();
     u64CharID = bh.ReadUint64();
     return ;
 }
Пример #3
0
 public void Read(ReadBufferHelper bh)
 {
     nRetCode    = bh.ReadUint16();
     dwAccountID = bh.ReadUint32();
     u64CharID   = bh.ReadUint64();
     return;
 }
Пример #4
0
 public void Read(ReadBufferHelper bh)
 {
     sDir = bh.ReadUint16();
     x    = bh.ReadFloat();
     y    = bh.ReadFloat();
     z    = bh.ReadFloat();
     return;
 }
Пример #5
0
 public void Read(ReadBufferHelper bh)
 {
     CmdHandleID = bh.ReadUint8();
     wCommandID = bh.ReadUint16();
     dwSceneID = bh.ReadUint32();
     u64CharID = bh.ReadUint64();
     return ;
 }
Пример #6
0
 public void Read(ReadBufferHelper bh)
 {
     CmdHandleID = bh.ReadUint8();
     wCommandID  = bh.ReadUint16();
     dwSceneID   = bh.ReadUint32();
     u64CharID   = bh.ReadUint64();
     dwPacketNo  = bh.ReadUint32();
     return;
 }
Пример #7
0
        public override Boolean OnCommandHandle(Command_ID wCommandID, UInt64 u64ConnID, ReadBufferHelper ReadHelper)
        {
            switch (wCommandID)
            {
            case Command_ID.CMD_CHAR_LOGIN_ACK:
            {
                StCharLoginAck Ack = new StCharLoginAck();
                Ack.Read(ReadHelper);
            }
            break;

            case Command_ID.CMD_CHAR_NEW_CHAR_ACK:
            {
            }
            break;

            case Command_ID.CMD_CHAR_DEL_CHAR_ACK:
            {
            }
            break;

            case Command_ID.CMD_CHAR_NEW_ACCOUNT_ACK:
            {
                UInt16 nRetCode = ReadHelper.ReadUint16();
            }
            break;

            case Command_ID.CMD_CHAR_ENTER_GAME_ACK:
            {
            }
            break;

            case Command_ID.CMD_CHAR_NEARBY_ADD:
            {
            }
            break;

            case Command_ID.CMD_CHAR_NEARBY_UPDATE:
            {
            }
            break;

            case Command_ID.CMD_CHAR_NEARBY_REMOVE:
            {
            }
            break;

            default:
            {
            }
            break;
            }

            return(true);
        }
Пример #8
0
 public void Read(ReadBufferHelper bh)
 {
     nRetCode    = bh.ReadUint16();
     dwAccountID = bh.ReadUint32();
     nCount      = bh.ReadUint8();
     for (int i = 0; i < nCount; i++)
     {
         CharPickInfo[i] = new StCharPickInfo();
         CharPickInfo[i].Read(bh);
     }
     return;
 }
Пример #9
0
 public void Read(ReadBufferHelper bh)
 {
     CheckCode = bh.ReadUint8();
     dwSize    = bh.ReadUint16();
     return;
 }
Пример #10
0
 public void Read(ReadBufferHelper bh)
 {
     nRetCode = bh.ReadUint16();
     CharPickInfo.Read(bh);
     return ;
 }
Пример #11
0
 public void Read(ReadBufferHelper bh)
 {
     nRetCode = bh.ReadUint16();
     u64CharID = bh.ReadUint64();
     dwIdentifyCode = bh.ReadUint32();
     nProxyPort = bh.ReadUint16();
     szProxyIpAddr = bh.ReadFixString(32);
     return ;
 }
Пример #12
0
 public void Read(ReadBufferHelper bh)
 {
     sDir = bh.ReadUint16();
     x = bh.ReadFloat();
     y = bh.ReadFloat();
     z = bh.ReadFloat();
     return ;
 }
Пример #13
0
 public void Read(ReadBufferHelper bh)
 {
     nRetCode = bh.ReadUint16();
     return ;
 }
Пример #14
0
 public void Read(ReadBufferHelper bh)
 {
     nRetCode = bh.ReadUint16();
     dwAccountID = bh.ReadUint32();
     nCount = bh.ReadUint8();
     for (int i = 0; i < nCount; i++)
     {
         CharPickInfo[i] = new StCharPickInfo();
         CharPickInfo[i].Read(bh);
     }
     return ;
 }
Пример #15
0
 public void Read(ReadBufferHelper bh)
 {
     nRetCode = bh.ReadUint16();
     return;
 }
Пример #16
0
 public void Read(ReadBufferHelper bh)
 {
     nRetCode = bh.ReadUint16();
     CharPickInfo.Read(bh);
     return;
 }
Пример #17
0
        public override Boolean OnCommandHandle(Command_ID wCommandID, UInt64 u64ConnID, ReadBufferHelper ReadHelper)
        {
            switch (wCommandID)
            {
                case Command_ID.CMD_CHAR_LOGIN_ACK:
                    {
                        StCharLoginAck Ack = new StCharLoginAck();
                        Ack.Read(ReadHelper);
                    }
                    break;
                case Command_ID.CMD_CHAR_NEW_CHAR_ACK:
                    {

                    }
                    break;
                case Command_ID.CMD_CHAR_DEL_CHAR_ACK:
                    {

                    }
                    break;
                case Command_ID.CMD_CHAR_NEW_ACCOUNT_ACK:
                    {
                        UInt16 nRetCode = ReadHelper.ReadUint16();
                    }
                    break;
                case Command_ID.CMD_CHAR_ENTER_GAME_ACK:
                    {

                    }
                    break;
                case Command_ID.CMD_CHAR_NEARBY_ADD:
                    {

                    }
                    break;
                case Command_ID.CMD_CHAR_NEARBY_UPDATE:
                    {

                    }
                    break;
                case Command_ID.CMD_CHAR_NEARBY_REMOVE:
                    {

                    }
                    break;

                default:
                    {

                    }
                    break;
            }

            return true;
        }
Пример #18
0
 public void Read(ReadBufferHelper bh)
 {
     CheckCode = bh.ReadUint8();
     dwSize = bh.ReadUint16();
     return ;
 }