| | |
| | | using UnityEngine; |
| | | using UnityEngine; |
| | | using System.Collections; |
| | | |
| | | // B9 07 收到请求加入队伍信息 #tagGCRequestJoinTeam |
| | | |
| | | public class HB907_tagGCRequestJoinTeam : GameNetPackBasic |
| | | { |
| | | public uint PlayerID; // 发起请求的玩家ID |
| | | public byte NameLen; |
| | | public string Name; // 发起请求的玩家名,size = NameLen |
| | | public ushort LV; // 玩家等级 |
| | | public byte Job; // 玩家职业 |
| | | public byte JobLevel; // 玩家职业阶级 |
| | | public ushort RealmLV; // 玩家境界等级 |
| | | |
| | | public HB907_tagGCRequestJoinTeam() |
| | | { |
| | | _cmd = (ushort)0xB907; |
| | | } |
| | | |
| | | public override void ReadFromBytes(byte[] vBytes) |
| | | { |
| | | TransBytes(out PlayerID, vBytes, NetDataType.DWORD); |
| | | TransBytes(out NameLen, vBytes, NetDataType.BYTE); |
| | | TransBytes(out Name, vBytes, NetDataType.Chars, NameLen); |
| | | TransBytes(out LV, vBytes, NetDataType.WORD); |
| | | TransBytes(out Job, vBytes, NetDataType.BYTE); |
| | | TransBytes(out JobLevel, vBytes, NetDataType.BYTE); |
| | | TransBytes(out RealmLV, vBytes, NetDataType.WORD); |
| | | } |
| | | |
| | | } |
| | | // B9 07 收到请求加入队伍信息 #tagGCRequestJoinTeam
|
| | |
|
| | | public class HB907_tagGCRequestJoinTeam : GameNetPackBasic {
|
| | | public uint PlayerID; // 发起请求的玩家ID
|
| | | public byte NameLen;
|
| | | public string Name; // 发起请求的玩家名,size = NameLen
|
| | | public ushort LV; // 玩家等级
|
| | | public byte Job; // 玩家职业
|
| | | public byte JobLevel; // 玩家职业阶级
|
| | | public ushort RealmLV; // 玩家境界等级
|
| | | public uint Face; //基本脸型
|
| | | public uint FacePic; //头像框
|
| | |
|
| | | public HB907_tagGCRequestJoinTeam () {
|
| | | _cmd = (ushort)0xB907;
|
| | | }
|
| | |
|
| | | public override void ReadFromBytes (byte[] vBytes) {
|
| | | TransBytes (out PlayerID, vBytes, NetDataType.DWORD);
|
| | | TransBytes (out NameLen, vBytes, NetDataType.BYTE);
|
| | | TransBytes (out Name, vBytes, NetDataType.Chars, NameLen);
|
| | | TransBytes (out LV, vBytes, NetDataType.WORD);
|
| | | TransBytes (out Job, vBytes, NetDataType.BYTE);
|
| | | TransBytes (out JobLevel, vBytes, NetDataType.BYTE);
|
| | | TransBytes (out RealmLV, vBytes, NetDataType.WORD);
|
| | | TransBytes (out Face, vBytes, NetDataType.DWORD);
|
| | | TransBytes (out FacePic, vBytes, NetDataType.DWORD);
|
| | | }
|
| | |
|
| | | }
|