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

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

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

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

                case  24: {
                    _inst.HaveMoneyNum = input.ReadInt32();
                    break;
                }
                }
            }
            return(_inst);
        }
Exemplo n.º 2
0
 public void SetHrInfo(HRInfo value)
 {
     hasHrInfo = true;
     hrInfo_   = value;
 }
Exemplo n.º 3
0
        public override PacketDistributed MergeFrom(pb::CodedInputStream input, PacketDistributed _base)
        {
            HRInfo _inst = (HRInfo)_base;

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

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

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

                case  24: {
                    _inst.EndTime = input.ReadInt64();
                    break;
                }

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

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

                case  48: {
                    _inst.Percent = input.ReadInt32();
                    break;
                }

                case  56: {
                    _inst.Integral = input.ReadInt32();
                    break;
                }

                case  64: {
                    _inst.MaxSelectNum = input.ReadInt32();
                    break;
                }

                case  72: {
                    _inst.LastPond = input.ReadInt32();
                    break;
                }
                }
            }
            return(_inst);
        }