| | |
| | |
|
| | | // C0 03 跨服PK战斗结果 #tagGCCrossRealmPKOverInfo
|
| | |
|
| | | public class HC003_tagGCCrossRealmPKOverInfo : GameNetPackBasic {
|
| | | public class HC003_tagGCCrossRealmPKOverInfo : GameNetPackBasic |
| | | { |
| | | public string TimeStr; // 结算时间,格式 yyyy-MM-dd HH:mm:ss
|
| | | public byte OverType; // 0-正常,1-有人离线
|
| | | public uint WinnerID; // 胜方ID
|
| | | public byte RoundCount; // PK回合数
|
| | | public uint[] RoundWinnerID; // 回合获胜ID列表
|
| | | public ushort AddScore; // 本场加分
|
| | | public ushort Score; // 当前积分
|
| | | public uint Score; // 当前积分 |
| | | public byte DanLV; // 当前段位
|
| | | public ushort CWinCnt; // 当前连胜数
|
| | | public byte TagNameLen;
|
| | | public string TagName;
|
| | |
|
| | | public HC003_tagGCCrossRealmPKOverInfo () {
|
| | | public HC003_tagGCCrossRealmPKOverInfo() |
| | | { |
| | | _cmd = (ushort)0xC003;
|
| | | }
|
| | |
|
| | | public override void ReadFromBytes (byte[] vBytes) {
|
| | | public override void ReadFromBytes(byte[] vBytes) |
| | | { |
| | | TransBytes (out TimeStr, vBytes, NetDataType.Chars, 19);
|
| | | TransBytes (out OverType, vBytes, NetDataType.BYTE);
|
| | | TransBytes (out WinnerID, vBytes, NetDataType.DWORD);
|
| | | TransBytes (out RoundCount, vBytes, NetDataType.BYTE);
|
| | | TransBytes (out RoundWinnerID, vBytes, NetDataType.DWORD, RoundCount);
|
| | | TransBytes (out AddScore, vBytes, NetDataType.WORD);
|
| | | TransBytes (out Score, vBytes, NetDataType.WORD);
|
| | | TransBytes(out Score, vBytes, NetDataType.DWORD); |
| | | TransBytes (out DanLV, vBytes, NetDataType.BYTE);
|
| | | TransBytes (out CWinCnt, vBytes, NetDataType.WORD);
|
| | | TransBytes (out TagNameLen, vBytes, NetDataType.BYTE);
|