Exemple #1
0
        public override PacketDistributed MergeFrom(pb::CodedInputStream input, PacketDistributed _base)
        {
            bossInfo _inst = (bossInfo)_base;

            while (true)
            {
                uint tag = input.ReadTag();
                switch (tag)
                {
                case 0:
                {
                    return(_inst);
                }

                case  8: {
                    _inst.BossID = input.ReadInt32();
                    break;
                }

                case  16: {
                    _inst.ReliveTime = input.ReadInt64();
                    break;
                }

                case  26: {
                    killBossInfo subBuilder = new killBossInfo();
                    input.ReadMessage(subBuilder);
                    _inst.AddKillInfo(subBuilder);
                    break;
                }
                }
            }
            return(_inst);
        }
Exemple #2
0
        public override PacketDistributed MergeFrom(pb::CodedInputStream input, PacketDistributed _base)
        {
            GCGalaxyOperateResult _inst = (GCGalaxyOperateResult)_base;

            while (true)
            {
                uint tag = input.ReadTag();
                switch (tag)
                {
                case 0:
                {
                    return(_inst);
                }

                case  8: {
                    _inst.Tired = input.ReadInt32();
                    break;
                }

                case  16: {
                    _inst.WorldID = input.ReadInt32();
                    break;
                }

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

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

                case  42: {
                    bossInfo subBuilder = new bossInfo();
                    input.ReadMessage(subBuilder);
                    _inst.AddBoss(subBuilder);
                    break;
                }
                }
            }
            return(_inst);
        }
Exemple #3
0
 public void AddBoss(bossInfo value)
 {
     boss_.Add(value);
 }