using UnityEngine;
|
using System.Collections;
|
|
// B3 14 社交人群伴侣信息 #tagGCSocialCouples
|
|
public class IL_HB314_tagGCSocialCouples : GameNetPackBasic {
|
public ushort Count;
|
public tagGCSocialCouple[] Player; //size = Count
|
|
public IL_HB314_tagGCSocialCouples () {
|
_cmd = (ushort)0xB314;
|
}
|
|
public override void ReadFromBytes (byte[] vBytes) {
|
TransBytes (out Count, vBytes, NetDataType.WORD);
|
Player = new tagGCSocialCouple[Count];
|
for (int i = 0; i < Count; i ++) {
|
Player[i] = new tagGCSocialCouple();
|
TransBytes (out Player[i].PlayerID, vBytes, NetDataType.DWORD);
|
TransBytes (out Player[i].CoupleID, vBytes, NetDataType.DWORD);
|
}
|
}
|
|
public struct tagGCSocialCouple {
|
public uint PlayerID;
|
public uint CoupleID; //伴侣ID
|
}
|
|
}
|