public void Read(ReadBufferHelper bh) { nRetCode = bh.ReadUint16(); u64CharID = bh.ReadUint64(); dwIdentifyCode = bh.ReadUint32(); nProxyPort = bh.ReadUint16(); szProxyIpAddr = bh.ReadFixString(32); return; }
public void Read(ReadBufferHelper bh) { nRetCode = bh.ReadUint16(); dwAccountID = bh.ReadUint32(); u64CharID = bh.ReadUint64(); return ; }
public void Read(ReadBufferHelper bh) { nRetCode = bh.ReadUint16(); dwAccountID = bh.ReadUint32(); u64CharID = bh.ReadUint64(); return; }
public void Read(ReadBufferHelper bh) { sDir = bh.ReadUint16(); x = bh.ReadFloat(); y = bh.ReadFloat(); z = bh.ReadFloat(); return; }
public void Read(ReadBufferHelper bh) { CmdHandleID = bh.ReadUint8(); wCommandID = bh.ReadUint16(); dwSceneID = bh.ReadUint32(); u64CharID = bh.ReadUint64(); return ; }
public void Read(ReadBufferHelper bh) { CmdHandleID = bh.ReadUint8(); wCommandID = bh.ReadUint16(); dwSceneID = bh.ReadUint32(); u64CharID = bh.ReadUint64(); dwPacketNo = bh.ReadUint32(); return; }
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); }
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; }
public void Read(ReadBufferHelper bh) { CheckCode = bh.ReadUint8(); dwSize = bh.ReadUint16(); return; }
public void Read(ReadBufferHelper bh) { nRetCode = bh.ReadUint16(); CharPickInfo.Read(bh); return ; }
public void Read(ReadBufferHelper bh) { nRetCode = bh.ReadUint16(); u64CharID = bh.ReadUint64(); dwIdentifyCode = bh.ReadUint32(); nProxyPort = bh.ReadUint16(); szProxyIpAddr = bh.ReadFixString(32); return ; }
public void Read(ReadBufferHelper bh) { sDir = bh.ReadUint16(); x = bh.ReadFloat(); y = bh.ReadFloat(); z = bh.ReadFloat(); return ; }
public void Read(ReadBufferHelper bh) { nRetCode = bh.ReadUint16(); return ; }
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 ; }
public void Read(ReadBufferHelper bh) { nRetCode = bh.ReadUint16(); return; }
public void Read(ReadBufferHelper bh) { nRetCode = bh.ReadUint16(); CharPickInfo.Read(bh); return; }
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; }
public void Read(ReadBufferHelper bh) { CheckCode = bh.ReadUint8(); dwSize = bh.ReadUint16(); return ; }