示例#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);
        }
示例#2
0
        public override PacketDistributed MergeFrom(pb::CodedInputStream input, PacketDistributed _base)
        {
            killBossInfo _inst = (killBossInfo)_base;

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

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

                case  16: {
                    _inst.Time = input.ReadInt64();
                    break;
                }
                }
            }
            return(_inst);
        }
示例#3
0
 public void AddKillInfo(killBossInfo value)
 {
     killInfo_.Add(value);
 }