Example #1
0
 public int __decode(byte[] binData, ref int pos)
 {
     this.retCode = Proto4z.BaseProtoObject.decodeUI16(binData, ref pos);
     this.users   = new BaseInfoArray();
     this.users.__decode(binData, ref pos);
     return(pos);
 }
Example #2
0
        public System.Collections.Generic.List <byte> __encode()
        {
            var data = new System.Collections.Generic.List <byte>();

            data.AddRange(Proto4z.BaseProtoObject.encodeUI16(retCode));
            if (users == null)
            {
                users = new BaseInfoArray();
            }
            data.AddRange(users.__encode());
            return(data);
        }
Example #3
0
 public System.Collections.Generic.List<byte> __encode()
 {
     var data = new System.Collections.Generic.List<byte>();
     data.AddRange(Proto4z.BaseProtoObject.encodeUI16(retCode));
     if (users == null) users = new BaseInfoArray();
     data.AddRange(users.__encode());
     return data;
 }
Example #4
0
 public int __decode(byte[] binData, ref int pos)
 {
     this.retCode = Proto4z.BaseProtoObject.decodeUI16(binData, ref pos);
     this.users = new BaseInfoArray();
     this.users.__decode(binData, ref pos);
     return pos;
 }
Example #5
0
 public PlatAuthAck(ushort retCode, BaseInfoArray users)
 {
     this.retCode = retCode;
     this.users = users;
 }
Example #6
0
        public BaseInfoArray users; //该帐号下的所有用户信息

        #endregion Fields

        #region Constructors

        public PlatAuthAck()
        {
            retCode = 0;
            users = new BaseInfoArray();
        }
Example #7
0
 public CreateUserAck(ushort retCode, BaseInfoArray users)
 {
     this.retCode = retCode;
     this.users = users;
 }
Example #8
0
        public BaseInfoArray users; //该帐号下的所有用户信息

        #endregion Fields

        #region Constructors

        public CreateUserAck()
        {
            retCode = 0;
            users = new BaseInfoArray();
        }
Example #9
0
 public CreateUserAck(ushort retCode, BaseInfoArray users)
 {
     this.retCode = retCode;
     this.users   = users;
 }
Example #10
0
 public BaseInfoArray users; //该帐号下的所有用户信息
 public CreateUserAck()
 {
     retCode = 0;
     users   = new BaseInfoArray();
 }
Example #11
0
 public PlatAuthAck(ushort retCode, BaseInfoArray users)
 {
     this.retCode = retCode;
     this.users   = users;
 }
Example #12
0
 public BaseInfoArray users; //该帐号下的所有用户信息
 public PlatAuthAck()
 {
     retCode = 0;
     users   = new BaseInfoArray();
 }