Example #1
0
 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);
 }
Example #2
0
 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);
 }
Example #3
0
        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);
        }
Example #4
0
 public AvatarPropMapNotice(ulong avatarID, AvatarPropMap props)
 {
     this.avatarID = avatarID;
     this.props    = props;
 }
Example #5
0
 public AvatarPropMapNotice()
 {
     avatarID = 0;
     props    = new AvatarPropMap();
 }
Example #6
0
 public AttachAvatarResp(ushort retCode, AvatarBaseInfo baseInfo, AvatarPropMap props)
 {
     this.retCode  = retCode;
     this.baseInfo = baseInfo;
     this.props    = props;
 }
Example #7
0
 public AttachAvatarResp()
 {
     retCode  = 0;
     baseInfo = new AvatarBaseInfo();
     props    = new AvatarPropMap();
 }