public int __decode(byte[] binData, ref int pos) { this.avatarID = Proto4z.BaseProtoObject.decodeUI64(binData, ref pos); this.props = new AvatarPropMap(); this.props.__decode(binData, ref pos); return(pos); }
public int __decode(byte[] binData, ref int pos) { this.retCode = Proto4z.BaseProtoObject.decodeUI16(binData, ref pos); this.baseInfo = new AvatarBaseInfo(); this.baseInfo.__decode(binData, ref pos); this.props = new AvatarPropMap(); this.props.__decode(binData, ref pos); return(pos); }
public System.Collections.Generic.List <byte> __encode() { var data = new System.Collections.Generic.List <byte>(); data.AddRange(Proto4z.BaseProtoObject.encodeUI64(this.avatarID)); if (this.props == null) { this.props = new AvatarPropMap(); } data.AddRange(this.props.__encode()); return(data); }
public AvatarPropMapNotice(ulong avatarID, AvatarPropMap props) { this.avatarID = avatarID; this.props = props; }
public AvatarPropMapNotice() { avatarID = 0; props = new AvatarPropMap(); }
public AttachAvatarResp(ushort retCode, AvatarBaseInfo baseInfo, AvatarPropMap props) { this.retCode = retCode; this.baseInfo = baseInfo; this.props = props; }
public AttachAvatarResp() { retCode = 0; baseInfo = new AvatarBaseInfo(); props = new AvatarPropMap(); }