| | |
| | | using UnityEngine;
|
| | | using System.Collections;
|
| | |
|
| | | // C0 01 跨服PK匹配成功 #tagGCCrossRealmPKMatchOK
|
| | |
|
| | | public class HC001_tagGCCrossRealmPKMatchOK : GameNetPackBasic {
|
| | | public byte NameLen;
|
| | | public string PlayerName; // 跨服名字
|
| | | public byte TagNameLen;
|
| | | public string TagPlayerName; // 对手名字
|
| | | public byte TagJob; // 对手职业
|
| | |
|
| | | public HC001_tagGCCrossRealmPKMatchOK () {
|
| | | _cmd = (ushort)0xC001;
|
| | | }
|
| | |
|
| | | public override void ReadFromBytes (byte[] vBytes) {
|
| | | TransBytes (out NameLen, vBytes, NetDataType.BYTE);
|
| | | TransBytes (out PlayerName, vBytes, NetDataType.Chars, NameLen);
|
| | | TransBytes (out TagNameLen, vBytes, NetDataType.BYTE);
|
| | | TransBytes (out TagPlayerName, vBytes, NetDataType.Chars, NameLen);
|
| | | TransBytes (out TagJob, vBytes, NetDataType.BYTE);
|
| | | }
|
| | |
|
| | | }
|
| | | // C0 01 跨服PK匹配成功 #tagGCCrossRealmPKMatchOK
|
| | |
|
| | | public class HC001_tagGCCrossRealmPKMatchOK : GameNetPackBasic
|
| | | {
|
| | | public byte NameLen;
|
| | | public string PlayerName; // 跨服名字
|
| | | public byte TagNameLen;
|
| | | public string TagPlayerName; // 对手名字
|
| | | public byte TagJob; // 对手职业
|
| | |
|
| | | public HC001_tagGCCrossRealmPKMatchOK()
|
| | | {
|
| | | _cmd = (ushort)0xC001;
|
| | | }
|
| | |
|
| | | public override void ReadFromBytes(byte[] vBytes)
|
| | | {
|
| | | TransBytes(out NameLen, vBytes, NetDataType.BYTE);
|
| | | TransBytes(out PlayerName, vBytes, NetDataType.Chars, NameLen);
|
| | | TransBytes(out TagNameLen, vBytes, NetDataType.BYTE);
|
| | | TransBytes(out TagPlayerName, vBytes, NetDataType.Chars, NameLen);
|
| | | TransBytes(out TagJob, vBytes, NetDataType.BYTE);
|
| | | }
|
| | |
|
| | | } |