Example #1
0
 public void MergeFrom(DB2LS_ExecRet other)
 {
     if (other == null)
     {
         return;
     }
     if (other.opts_ != null)
     {
         if (opts_ == null)
         {
             opts_ = new global::Protos.MsgOpts();
         }
         Opts.MergeFrom(other.Opts);
     }
     if (other.Result != 0)
     {
         Result = other.Result;
     }
     if (other.Row != 0)
     {
         Row = other.Row;
     }
     if (other.Id != 0)
     {
         Id = other.Id;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #2
0
 public void MergeFrom(CS2DB_QueryRanking other)
 {
     if (other == null)
     {
         return;
     }
     if (other.opts_ != null)
     {
         if (opts_ == null)
         {
             opts_ = new global::Protos.MsgOpts();
         }
         Opts.MergeFrom(other.Opts);
     }
     if (other.SortType != 0)
     {
         SortType = other.SortType;
     }
     if (other.From != 0)
     {
         From = other.From;
     }
     if (other.Count != 0)
     {
         Count = other.Count;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #3
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    if (opts_ == null)
                    {
                        opts_ = new global::Protos.MsgOpts();
                    }
                    input.ReadMessage(opts_);
                    break;
                }

                case 16: {
                    result_ = (global::Protos.Global.Types.ECommon)input.ReadEnum();
                    break;
                }
                }
            }
        }
Example #4
0
 public void MergeFrom(CS2DB_BuyChampion other)
 {
     if (other == null)
     {
         return;
     }
     if (other.opts_ != null)
     {
         if (opts_ == null)
         {
             opts_ = new global::Protos.MsgOpts();
         }
         Opts.MergeFrom(other.Opts);
     }
     if (other.Result != 0)
     {
         Result = other.Result;
     }
     if (other.Ukey != 0)
     {
         Ukey = other.Ukey;
     }
     if (other.Money != 0)
     {
         Money = other.Money;
     }
     if (other.Diamoned != 0)
     {
         Diamoned = other.Diamoned;
     }
     cids_.Add(other.cids_);
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #5
0
 public void MergeFrom(CS2BS_BattleInfo other)
 {
     if (other == null)
     {
         return;
     }
     if (other.opts_ != null)
     {
         if (opts_ == null)
         {
             opts_ = new global::Protos.MsgOpts();
         }
         Opts.MergeFrom(other.Opts);
     }
     if (other.MapID != 0)
     {
         MapID = other.MapID;
     }
     if (other.ConnTimeout != 0)
     {
         ConnTimeout = other.ConnTimeout;
     }
     teamInfos_.Add(other.teamInfos_);
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #6
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    if (opts_ == null)
                    {
                        opts_ = new global::Protos.MsgOpts();
                    }
                    input.ReadMessage(opts_);
                    break;
                }

                case 18: {
                    rankingInfos_.AddEntriesFrom(input, _repeated_rankingInfos_codec);
                    break;
                }
                }
            }
        }
Example #7
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    if (opts_ == null)
                    {
                        opts_ = new global::Protos.MsgOpts();
                    }
                    input.ReadMessage(opts_);
                    break;
                }

                case 18: {
                    Name = input.ReadString();
                    break;
                }
                }
            }
        }
Example #8
0
 public void MergeFrom(LS2GC_AskLoginRet other)
 {
     if (other == null)
     {
         return;
     }
     if (other.opts_ != null)
     {
         if (opts_ == null)
         {
             opts_ = new global::Protos.MsgOpts();
         }
         Opts.MergeFrom(other.Opts);
     }
     if (other.Result != 0)
     {
         Result = other.Result;
     }
     if (other.SessionID != 0UL)
     {
         SessionID = other.SessionID;
     }
     gsInfos_.Add(other.gsInfos_);
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #9
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    if (opts_ == null)
                    {
                        opts_ = new global::Protos.MsgOpts();
                    }
                    input.ReadMessage(opts_);
                    break;
                }

                case 16: {
                    result_ = (global::Protos.CS2GS_GCLoginRet.Types.EResult)input.ReadEnum();
                    break;
                }

                case 24: {
                    gcState_ = (global::Protos.CS2GS_GCLoginRet.Types.EGCCState)input.ReadEnum();
                    break;
                }

                case 34: {
                    if (userInfo_ == null)
                    {
                        userInfo_ = new global::Protos.G_UserInfo();
                    }
                    input.ReadMessage(userInfo_);
                    break;
                }

                case 40: {
                    GcNID = input.ReadUInt64();
                    break;
                }

                case 50: {
                    BsIP = input.ReadString();
                    break;
                }

                case 56: {
                    BsPort = input.ReadInt32();
                    break;
                }
                }
            }
        }
Example #10
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    if (opts_ == null)
                    {
                        opts_ = new global::Protos.MsgOpts();
                    }
                    input.ReadMessage(opts_);
                    break;
                }

                case 16: {
                    result_ = (global::Protos.Global.Types.ECommon)input.ReadEnum();
                    break;
                }

                case 24: {
                    Ukey = input.ReadUInt32();
                    break;
                }

                case 32: {
                    Money = input.ReadInt32();
                    break;
                }

                case 40: {
                    Diamoned = input.ReadInt32();
                    break;
                }

                case 50:
                case 48: {
                    cids_.AddEntriesFrom(input, _repeated_cids_codec);
                    break;
                }
                }
            }
        }
Example #11
0
 public void MergeFrom(GS2GC_LoginRet other)
 {
     if (other == null)
     {
         return;
     }
     if (other.opts_ != null)
     {
         if (opts_ == null)
         {
             opts_ = new global::Protos.MsgOpts();
         }
         Opts.MergeFrom(other.Opts);
     }
     if (other.Result != 0)
     {
         Result = other.Result;
     }
     if (other.GcState != 0)
     {
         GcState = other.GcState;
     }
     if (other.userInfo_ != null)
     {
         if (userInfo_ == null)
         {
             userInfo_ = new global::Protos.G_UserInfo();
         }
         UserInfo.MergeFrom(other.UserInfo);
     }
     if (other.GcNID != 0UL)
     {
         GcNID = other.GcNID;
     }
     if (other.BsIP.Length != 0)
     {
         BsIP = other.BsIP;
     }
     if (other.BsPort != 0)
     {
         BsPort = other.BsPort;
     }
     if (other.Defs.Length != 0)
     {
         Defs = other.Defs;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #12
0
 public void MergeFrom(GC2GS_KeepAlive other)
 {
     if (other == null)
     {
         return;
     }
     if (other.opts_ != null)
     {
         if (opts_ == null)
         {
             opts_ = new global::Protos.MsgOpts();
         }
         Opts.MergeFrom(other.Opts);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #13
0
 public void MergeFrom(CS2BS_BattleEndRet other)
 {
     if (other == null)
     {
         return;
     }
     if (other.opts_ != null)
     {
         if (opts_ == null)
         {
             opts_ = new global::Protos.MsgOpts();
         }
         Opts.MergeFrom(other.Opts);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #14
0
 public void MergeFrom(CS2DB_UpdateRank other)
 {
     if (other == null)
     {
         return;
     }
     if (other.opts_ != null)
     {
         if (opts_ == null)
         {
             opts_ = new global::Protos.MsgOpts();
         }
         Opts.MergeFrom(other.Opts);
     }
     gains_.Add(other.gains_);
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #15
0
 public void MergeFrom(DB2CS_QueryRankingRet other)
 {
     if (other == null)
     {
         return;
     }
     if (other.opts_ != null)
     {
         if (opts_ == null)
         {
             opts_ = new global::Protos.MsgOpts();
         }
         Opts.MergeFrom(other.Opts);
     }
     rankingInfos_.Add(other.rankingInfos_);
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #16
0
 public void MergeFrom(LS2GC_GSInfo other)
 {
     if (other == null)
     {
         return;
     }
     if (other.opts_ != null)
     {
         if (opts_ == null)
         {
             opts_ = new global::Protos.MsgOpts();
         }
         Opts.MergeFrom(other.Opts);
     }
     gsInfos_.Add(other.gsInfos_);
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #17
0
 public void MergeFrom(LS2DB_QueryAccount other)
 {
     if (other == null)
     {
         return;
     }
     if (other.opts_ != null)
     {
         if (opts_ == null)
         {
             opts_ = new global::Protos.MsgOpts();
         }
         Opts.MergeFrom(other.Opts);
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #18
0
 public void MergeFrom(GS2CS_GCLost other)
 {
     if (other == null)
     {
         return;
     }
     if (other.opts_ != null)
     {
         if (opts_ == null)
         {
             opts_ = new global::Protos.MsgOpts();
         }
         Opts.MergeFrom(other.Opts);
     }
     if (other.SessionID != 0UL)
     {
         SessionID = other.SessionID;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #19
0
 public void MergeFrom(CS2LS_GSLost other)
 {
     if (other == null)
     {
         return;
     }
     if (other.opts_ != null)
     {
         if (opts_ == null)
         {
             opts_ = new global::Protos.MsgOpts();
         }
         Opts.MergeFrom(other.Opts);
     }
     if (other.Gsid != 0)
     {
         Gsid = other.Gsid;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #20
0
 public void MergeFrom(GS2GC_Kick other)
 {
     if (other == null)
     {
         return;
     }
     if (other.opts_ != null)
     {
         if (opts_ == null)
         {
             opts_ = new global::Protos.MsgOpts();
         }
         Opts.MergeFrom(other.Opts);
     }
     if (other.Reason != 0)
     {
         Reason = other.Reason;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #21
0
 public void MergeFrom(LS2GC_AskRegRet other)
 {
     if (other == null)
     {
         return;
     }
     if (other.opts_ != null)
     {
         if (opts_ == null)
         {
             opts_ = new global::Protos.MsgOpts();
         }
         Opts.MergeFrom(other.Opts);
     }
     if (other.Result != 0)
     {
         Result = other.Result;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #22
0
 public void MergeFrom(LS2DB_Exec other)
 {
     if (other == null)
     {
         return;
     }
     if (other.opts_ != null)
     {
         if (opts_ == null)
         {
             opts_ = new global::Protos.MsgOpts();
         }
         Opts.MergeFrom(other.Opts);
     }
     if (other.Cmd.Length != 0)
     {
         Cmd = other.Cmd;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #23
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    if (opts_ == null)
                    {
                        opts_ = new global::Protos.MsgOpts();
                    }
                    input.ReadMessage(opts_);
                    break;
                }

                case 16: {
                    result_ = (global::Protos.LS2GC_AskLoginRet.Types.EResult)input.ReadEnum();
                    break;
                }

                case 24: {
                    SessionID = input.ReadUInt64();
                    break;
                }

                case 34: {
                    gsInfos_.AddEntriesFrom(input, _repeated_gsInfos_codec);
                    break;
                }
                }
            }
        }
Example #24
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    if (opts_ == null)
                    {
                        opts_ = new global::Protos.MsgOpts();
                    }
                    input.ReadMessage(opts_);
                    break;
                }

                case 16: {
                    sortType_ = (global::Protos.CS2DB_QueryRanking.Types.SortType)input.ReadEnum();
                    break;
                }

                case 24: {
                    From = input.ReadInt32();
                    break;
                }

                case 32: {
                    Count = input.ReadInt32();
                    break;
                }
                }
            }
        }
Example #25
0
 public void MergeFrom(GC2GS_AskLogin other)
 {
     if (other == null)
     {
         return;
     }
     if (other.opts_ != null)
     {
         if (opts_ == null)
         {
             opts_ = new global::Protos.MsgOpts();
         }
         Opts.MergeFrom(other.Opts);
     }
     if (other.Pwd.Length != 0)
     {
         Pwd = other.Pwd;
     }
     if (other.SessionID != 0UL)
     {
         SessionID = other.SessionID;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #26
0
 public void MergeFrom(GS2CS_ReportState other)
 {
     if (other == null)
     {
         return;
     }
     if (other.opts_ != null)
     {
         if (opts_ == null)
         {
             opts_ = new global::Protos.MsgOpts();
         }
         Opts.MergeFrom(other.Opts);
     }
     if (other.gsInfo_ != null)
     {
         if (gsInfo_ == null)
         {
             gsInfo_ = new global::Protos.GSInfo();
         }
         GsInfo.MergeFrom(other.GsInfo);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #27
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    if (opts_ == null)
                    {
                        opts_ = new global::Protos.MsgOpts();
                    }
                    input.ReadMessage(opts_);
                    break;
                }

                case 18: {
                    Name = input.ReadString();
                    break;
                }

                case 26: {
                    Pwd = input.ReadString();
                    break;
                }

                case 32: {
                    VertPwd = input.ReadBool();
                    break;
                }

                case 42: {
                    Ip = input.ReadString();
                    break;
                }

                case 48: {
                    Time = input.ReadInt64();
                    break;
                }

                case 56: {
                    channel_ = (global::Protos.Global.Types.Channel)input.ReadEnum();
                    break;
                }

                case 64: {
                    browser_ = (global::Protos.Global.Types.Browser)input.ReadEnum();
                    break;
                }

                case 72: {
                    platform_ = (global::Protos.Global.Types.Platform)input.ReadEnum();
                    break;
                }

                case 82: {
                    UnionID = input.ReadString();
                    break;
                }

                case 90: {
                    Nickname = input.ReadString();
                    break;
                }

                case 98: {
                    Avatar = input.ReadString();
                    break;
                }

                case 104: {
                    Gender = input.ReadInt32();
                    break;
                }

                case 112: {
                    Money = input.ReadInt32();
                    break;
                }

                case 120: {
                    Diamoned = input.ReadInt32();
                    break;
                }

                case 128: {
                    Rank = input.ReadInt32();
                    break;
                }

                case 136: {
                    Exp = input.ReadUInt32();
                    break;
                }

                case 146: {
                    Champions = input.ReadString();
                    break;
                }
                }
            }
        }
Example #28
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    if (opts_ == null)
                    {
                        opts_ = new global::Protos.MsgOpts();
                    }
                    input.ReadMessage(opts_);
                    break;
                }

                case 16: {
                    result_ = (global::Protos.Global.Types.ECommon)input.ReadEnum();
                    break;
                }

                case 24: {
                    Ukey = input.ReadUInt32();
                    break;
                }

                case 32: {
                    channel_ = (global::Protos.Global.Types.Channel)input.ReadEnum();
                    break;
                }

                case 40: {
                    browser_ = (global::Protos.Global.Types.Browser)input.ReadEnum();
                    break;
                }

                case 48: {
                    platform_ = (global::Protos.Global.Types.Platform)input.ReadEnum();
                    break;
                }

                case 58: {
                    UnionID = input.ReadString();
                    break;
                }

                case 66: {
                    Nickname = input.ReadString();
                    break;
                }

                case 74: {
                    Avatar = input.ReadString();
                    break;
                }

                case 80: {
                    Gender = input.ReadInt32();
                    break;
                }

                case 88: {
                    Money = input.ReadInt32();
                    break;
                }

                case 96: {
                    Diamoned = input.ReadInt32();
                    break;
                }

                case 104: {
                    Rank = input.ReadInt32();
                    break;
                }

                case 112: {
                    Exp = input.ReadUInt32();
                    break;
                }

                case 122: {
                    Champions = input.ReadString();
                    break;
                }

                case 128: {
                    ActorID = input.ReadInt32();
                    break;
                }
                }
            }
        }
Example #29
0
 public void MergeFrom(LS2DB_QueryLogin other)
 {
     if (other == null)
     {
         return;
     }
     if (other.opts_ != null)
     {
         if (opts_ == null)
         {
             opts_ = new global::Protos.MsgOpts();
         }
         Opts.MergeFrom(other.Opts);
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     if (other.Pwd.Length != 0)
     {
         Pwd = other.Pwd;
     }
     if (other.VertPwd != false)
     {
         VertPwd = other.VertPwd;
     }
     if (other.Ip.Length != 0)
     {
         Ip = other.Ip;
     }
     if (other.Time != 0L)
     {
         Time = other.Time;
     }
     if (other.Channel != 0)
     {
         Channel = other.Channel;
     }
     if (other.Browser != 0)
     {
         Browser = other.Browser;
     }
     if (other.Platform != 0)
     {
         Platform = other.Platform;
     }
     if (other.UnionID.Length != 0)
     {
         UnionID = other.UnionID;
     }
     if (other.Nickname.Length != 0)
     {
         Nickname = other.Nickname;
     }
     if (other.Avatar.Length != 0)
     {
         Avatar = other.Avatar;
     }
     if (other.Gender != 0)
     {
         Gender = other.Gender;
     }
     if (other.Money != 0)
     {
         Money = other.Money;
     }
     if (other.Diamoned != 0)
     {
         Diamoned = other.Diamoned;
     }
     if (other.Rank != 0)
     {
         Rank = other.Rank;
     }
     if (other.Exp != 0)
     {
         Exp = other.Exp;
     }
     if (other.Champions.Length != 0)
     {
         Champions = other.Champions;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Example #30
0
 public void MergeFrom(LS2CS_GCLogin other)
 {
     if (other == null)
     {
         return;
     }
     if (other.opts_ != null)
     {
         if (opts_ == null)
         {
             opts_ = new global::Protos.MsgOpts();
         }
         Opts.MergeFrom(other.Opts);
     }
     if (other.GcNID != 0UL)
     {
         GcNID = other.GcNID;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.Ukey != 0)
     {
         Ukey = other.Ukey;
     }
     if (other.Channel != 0)
     {
         Channel = other.Channel;
     }
     if (other.Browser != 0)
     {
         Browser = other.Browser;
     }
     if (other.Platform != 0)
     {
         Platform = other.Platform;
     }
     if (other.SessionKey.Length != 0)
     {
         SessionKey = other.SessionKey;
     }
     if (other.UnionID.Length != 0)
     {
         UnionID = other.UnionID;
     }
     if (other.Nickname.Length != 0)
     {
         Nickname = other.Nickname;
     }
     if (other.Avatar.Length != 0)
     {
         Avatar = other.Avatar;
     }
     if (other.Gender != 0)
     {
         Gender = other.Gender;
     }
     if (other.Money != 0)
     {
         Money = other.Money;
     }
     if (other.Diamoned != 0)
     {
         Diamoned = other.Diamoned;
     }
     if (other.Rank != 0)
     {
         Rank = other.Rank;
     }
     if (other.Exp != 0)
     {
         Exp = other.Exp;
     }
     if (other.Champions.Length != 0)
     {
         Champions = other.Champions;
     }
     if (other.ActorID != 0)
     {
         ActorID = other.ActorID;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }