Esempio n. 1
0
        public override PacketDistributed MergeFrom(pb::CodedInputStream input, PacketDistributed _base)
        {
            GCWorldBossInfo _inst = (GCWorldBossInfo)_base;

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

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

                case  18: {
                    WorldBossPlayerInfo subBuilder = new WorldBossPlayerInfo();
                    input.ReadMessage(subBuilder);
                    _inst.PlayerInfo = subBuilder;
                    break;
                }

                case  24: {
                    _inst.BossID = input.ReadInt32();
                    break;
                }
                }
            }
            return(_inst);
        }
Esempio n. 2
0
        public override PacketDistributed MergeFrom(pb::CodedInputStream input, PacketDistributed _base)
        {
            WorldBossPlayerInfo _inst = (WorldBossPlayerInfo)_base;

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

                case  8: {
                    _inst.InspireTime = input.ReadInt64();
                    break;
                }

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

                case  24: {
                    _inst.PayInspire = input.ReadInt32();
                    break;
                }
                }
            }
            return(_inst);
        }
Esempio n. 3
0
 public void SetPlayerInfo(WorldBossPlayerInfo value)
 {
     hasPlayerInfo = true;
     playerInfo_   = value;
 }