Example #1
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (Id != 0L)
     {
         output.WriteRawTag(8);
         output.WriteSInt64(Id);
     }
     if (UserId != 0)
     {
         output.WriteRawTag(16);
         output.WriteSInt32(UserId);
     }
     if (MallId != 0)
     {
         output.WriteRawTag(24);
         output.WriteSInt32(MallId);
     }
     if (FreeType != 0)
     {
         output.WriteRawTag(32);
         output.WriteSInt32(FreeType);
     }
     if (MaturityTime != 0L)
     {
         output.WriteRawTag(40);
         output.WriteSInt64(MaturityTime);
     }
 }
Example #2
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (UserId != 0)
     {
         output.WriteRawTag(8);
         output.WriteSInt32(UserId);
     }
     if (Player != 0)
     {
         output.WriteRawTag(16);
         output.WriteEnum((int)Player);
     }
     if (Level != 0)
     {
         output.WriteRawTag(24);
         output.WriteSInt32(Level);
     }
     if (Exp != 0)
     {
         output.WriteRawTag(32);
         output.WriteSInt32(Exp);
     }
     apparel_.WriteTo(output, _map_apparel_codec);
     voiceKeep_.WriteTo(output, _repeated_voiceKeep_codec);
 }
Example #3
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (UserId != 0)
     {
         output.WriteRawTag(8);
         output.WriteSInt32(UserId);
     }
     if (MissionId != 0)
     {
         output.WriteRawTag(16);
         output.WriteSInt32(MissionId);
     }
     if (Status != 0)
     {
         output.WriteRawTag(24);
         output.WriteEnum((int)Status);
     }
     if (Progress != 0L)
     {
         output.WriteRawTag(32);
         output.WriteSInt64(Progress);
     }
     if (Finish != 0L)
     {
         output.WriteRawTag(40);
         output.WriteSInt64(Finish);
     }
 }
Example #4
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (ItemId != 0)
     {
         output.WriteRawTag(8);
         output.WriteSInt32(ItemId);
     }
     if (ItemType != 0)
     {
         output.WriteRawTag(16);
         output.WriteSInt32(ItemType);
     }
     if (ItemDesc.Length != 0)
     {
         output.WriteRawTag(26);
         output.WriteString(ItemDesc);
     }
     if (ItemVoice.Length != 0)
     {
         output.WriteRawTag(34);
         output.WriteString(ItemVoice);
     }
     if (ItemPhiz.Length != 0)
     {
         output.WriteRawTag(42);
         output.WriteString(ItemPhiz);
     }
     if (Player != 0)
     {
         output.WriteRawTag(48);
         output.WriteEnum((int)Player);
     }
 }
Example #5
0
   public void WriteTo(pb::CodedOutputStream output)
   {
 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
       output.WriteRawMessage(this);
 #else
       if (Index != 0)
       {
           output.WriteRawTag(8);
           output.WriteSInt32(Index);
       }
       if (Length != 0)
       {
           output.WriteRawTag(16);
           output.WriteSInt32(Length);
       }
       if (Pos != 0)
       {
           output.WriteRawTag(24);
           output.WriteSInt32(Pos);
       }
       if (_unknownFields != null)
       {
           _unknownFields.WriteTo(output);
       }
 #endif
   }
   public void WriteTo(pb::CodedOutputStream output)
   {
 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
       output.WriteRawMessage(this);
 #else
       if (SocialSecurityNumber.Length != 0)
       {
           output.WriteRawTag(10);
           output.WriteString(SocialSecurityNumber);
       }
       if (Year != 0)
       {
           output.WriteRawTag(16);
           output.WriteSInt32(Year);
       }
       if (Quarter != 0)
       {
           output.WriteRawTag(24);
           output.WriteSInt32(Quarter);
       }
       if (Amount != 0D)
       {
           output.WriteRawTag(33);
           output.WriteDouble(Amount);
       }
       if (_unknownFields != null)
       {
           _unknownFields.WriteTo(output);
       }
 #endif
   }
Example #7
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (WeatherId != 0)
     {
         output.WriteRawTag(8);
         output.WriteSInt32(WeatherId);
     }
     if (Name.Length != 0)
     {
         output.WriteRawTag(18);
         output.WriteString(Name);
     }
     if (VisitingNum != 0)
     {
         output.WriteRawTag(24);
         output.WriteSInt32(VisitingNum);
     }
     if (Best != 0)
     {
         output.WriteRawTag(32);
         output.WriteSInt32(Best);
     }
     if (Better != 0)
     {
         output.WriteRawTag(40);
         output.WriteSInt32(Better);
     }
     if (Same != 0)
     {
         output.WriteRawTag(48);
         output.WriteSInt32(Same);
     }
 }
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (UserId != 0)
     {
         output.WriteRawTag(8);
         output.WriteSInt32(UserId);
     }
     if (ActivityId != 0)
     {
         output.WriteRawTag(16);
         output.WriteSInt32(ActivityId);
     }
     if (SignDay != 0)
     {
         output.WriteRawTag(24);
         output.WriteSInt32(SignDay);
     }
     if (RefreshTime != 0L)
     {
         output.WriteRawTag(32);
         output.WriteSInt64(RefreshTime);
     }
     if (StartSignInTime != 0L)
     {
         output.WriteRawTag(40);
         output.WriteSInt64(StartSignInTime);
     }
 }
Example #9
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (UserId != 0)
     {
         output.WriteRawTag(8);
         output.WriteSInt32(UserId);
     }
     if (ActivityId != 0)
     {
         output.WriteRawTag(16);
         output.WriteSInt32(ActivityId);
     }
     if (MusicId != 0)
     {
         output.WriteRawTag(24);
         output.WriteSInt32(MusicId);
     }
     if (DiffType != 0)
     {
         output.WriteRawTag(32);
         output.WriteEnum((int)DiffType);
     }
     if (MaxScore != 0)
     {
         output.WriteRawTag(40);
         output.WriteSInt32(MaxScore);
     }
 }
Example #10
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (Id != 0)
     {
         output.WriteRawTag(8);
         output.WriteSInt32(Id);
     }
     activeCards_.WriteTo(output, _repeated_activeCards_codec);
     if (ActiveFavor != 0)
     {
         output.WriteRawTag(24);
         output.WriteSInt32(ActiveFavor);
     }
     gateInfos_.WriteTo(output, _repeated_gateInfos_codec);
     if (Name.Length != 0)
     {
         output.WriteRawTag(42);
         output.WriteString(Name);
     }
     if (Sweetness.Length != 0)
     {
         output.WriteRawTag(50);
         output.WriteString(Sweetness);
     }
 }
Example #11
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (Gate != 0)
     {
         output.WriteRawTag(8);
         output.WriteSInt32(Gate);
     }
     cosumes_.WriteTo(output, _map_cosumes_codec);
     if (SceneId.Length != 0)
     {
         output.WriteRawTag(26);
         output.WriteString(SceneId);
     }
     if (Star != 0)
     {
         output.WriteRawTag(32);
         output.WriteSInt32(Star);
     }
     if (Evo != 0)
     {
         output.WriteRawTag(40);
         output.WriteSInt32(Evo);
     }
     awards_.WriteTo(output, _repeated_awards_codec);
 }
Example #12
0
 public void WriteTo(pb::CodedOutputStream output) {
   if (UserId != 0) {
     output.WriteRawTag(8);
     output.WriteSInt32(UserId);
   }
   if (ModCount != 0) {
     output.WriteRawTag(16);
     output.WriteSInt32(ModCount);
   }
   if (FirstPrize != 0) {
     output.WriteRawTag(24);
     output.WriteEnum((int) FirstPrize);
   }
   if (GrowthFund != 0) {
     output.WriteRawTag(32);
     output.WriteSInt32(GrowthFund);
   }
   shareAwards_.WriteTo(output, _repeated_shareAwards_codec);
   if (GotDailyPackageStatus != false) {
     output.WriteRawTag(48);
     output.WriteBool(GotDailyPackageStatus);
   }
   if (DownloadReceive != 0) {
     output.WriteRawTag(56);
     output.WriteSInt32(DownloadReceive);
   }
   extraRecord_.WriteTo(output, _repeated_extraRecord_codec);
 }
Example #13
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (Module != 0)
     {
         output.WriteRawTag(8);
         output.WriteEnum((int)Module);
     }
     if (LevelBottom != 0)
     {
         output.WriteRawTag(16);
         output.WriteSInt32(LevelBottom);
     }
     if (PlotBottom != 0)
     {
         output.WriteRawTag(24);
         output.WriteSInt32(PlotBottom);
     }
     if (Used != 0)
     {
         output.WriteRawTag(32);
         output.WriteSInt32(Used);
     }
     if (FunctionId != 0)
     {
         output.WriteRawTag(40);
         output.WriteEnum((int)FunctionId);
     }
 }
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (ResourceId != 0)
     {
         output.WriteRawTag(8);
         output.WriteSInt32(ResourceId);
     }
     if (Resource != 0)
     {
         output.WriteRawTag(16);
         output.WriteEnum((int)Resource);
     }
     if (Num != 0)
     {
         output.WriteRawTag(24);
         output.WriteSInt32(Num);
     }
     if (CurrentNum != 0)
     {
         output.WriteRawTag(32);
         output.WriteSInt32(CurrentNum);
     }
     if (ActivityId != 0)
     {
         output.WriteRawTag(40);
         output.WriteSInt32(ActivityId);
     }
 }
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (ActivityMissionId != 0)
     {
         output.WriteRawTag(8);
         output.WriteSInt32(ActivityMissionId);
     }
     if (ActivityMissionName.Length != 0)
     {
         output.WriteRawTag(18);
         output.WriteString(ActivityMissionName);
     }
     if (ActivityId != 0)
     {
         output.WriteRawTag(24);
         output.WriteSInt32(ActivityId);
     }
     award_.WriteTo(output, _repeated_award_codec);
     if (ActivityMissionDesc.Length != 0)
     {
         output.WriteRawTag(42);
         output.WriteString(ActivityMissionDesc);
     }
     if (JumpTo.Length != 0)
     {
         output.WriteRawTag(50);
         output.WriteString(JumpTo);
     }
     if (extra_ != null)
     {
         output.WriteRawTag(58);
         output.WriteMessage(Extra);
     }
 }
Example #16
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (UserId != 0)
     {
         output.WriteRawTag(8);
         output.WriteSInt32(UserId);
     }
     if (GoldNum != 0)
     {
         output.WriteRawTag(16);
         output.WriteSInt32(GoldNum);
     }
     if (PowerNum != 0)
     {
         output.WriteRawTag(24);
         output.WriteSInt32(PowerNum);
     }
     if (EncourageNum != 0)
     {
         output.WriteRawTag(32);
         output.WriteSInt32(EncourageNum);
     }
     if (RefreshTime != 0L)
     {
         output.WriteRawTag(40);
         output.WriteSInt64(RefreshTime);
     }
 }
Example #17
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (TriggerGoalType != 0)
     {
         output.WriteRawTag(8);
         output.WriteEnum((int)TriggerGoalType);
     }
     if (Credit != 0)
     {
         output.WriteRawTag(16);
         output.WriteEnum((int)Credit);
     }
     if (Finish != 0)
     {
         output.WriteRawTag(24);
         output.WriteSInt32(Finish);
     }
     if (ProgressCover != 0)
     {
         output.WriteRawTag(32);
         output.WriteSInt32(ProgressCover);
     }
     if (LssOrGtr != 0)
     {
         output.WriteRawTag(40);
         output.WriteSInt32(LssOrGtr);
     }
 }
Example #18
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (X != 0)
     {
         output.WriteRawTag(8);
         output.WriteSInt32(X);
     }
     if (Y != 0)
     {
         output.WriteRawTag(16);
         output.WriteSInt32(Y);
     }
     if (Z != 0)
     {
         output.WriteRawTag(24);
         output.WriteSInt32(Z);
     }
     if (Id != 0)
     {
         output.WriteRawTag(32);
         output.WriteUInt32(Id);
     }
     if (Data.Length != 0)
     {
         output.WriteRawTag(42);
         output.WriteBytes(Data);
     }
 }
Example #19
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (ClockId != 0)
     {
         output.WriteRawTag(8);
         output.WriteSInt32(ClockId);
     }
     if (Open != 0)
     {
         output.WriteRawTag(16);
         output.WriteSInt32(Open);
     }
     if (Hour != 0)
     {
         output.WriteRawTag(24);
         output.WriteSInt32(Hour);
     }
     if (Min != 0)
     {
         output.WriteRawTag(32);
         output.WriteSInt32(Min);
     }
     if (LabelId != 0)
     {
         output.WriteRawTag(40);
         output.WriteSInt32(LabelId);
     }
 }
Example #20
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (ActivityId != 0)
     {
         output.WriteRawTag(8);
         output.WriteSInt32(ActivityId);
     }
     if (Id != 0)
     {
         output.WriteRawTag(16);
         output.WriteSInt32(Id);
     }
     if (OptionalActivityType != 0)
     {
         output.WriteRawTag(24);
         output.WriteEnum((int)OptionalActivityType);
     }
     if (IsSelect != 0)
     {
         output.WriteRawTag(32);
         output.WriteSInt32(IsSelect);
     }
     fixedAward_.WriteTo(output, _repeated_fixedAward_codec);
     optionalAward_.WriteTo(output, _repeated_optionalAward_codec);
 }
Example #21
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (Id != 0)
     {
         output.WriteRawTag(8);
         output.WriteSInt32(Id);
     }
     if (GroupId != 0)
     {
         output.WriteRawTag(16);
         output.WriteSInt32(GroupId);
     }
     if (Img.Length != 0)
     {
         output.WriteRawTag(26);
         output.WriteString(Img);
     }
     if (Name.Length != 0)
     {
         output.WriteRawTag(34);
         output.WriteString(Name);
     }
     if (Content.Length != 0)
     {
         output.WriteRawTag(42);
         output.WriteString(Content);
     }
     if (LikeNum != 0)
     {
         output.WriteRawTag(48);
         output.WriteSInt32(LikeNum);
     }
 }
 public void WriteTo(pb::CodedOutputStream output)
 {
     lottery_.WriteTo(output, _repeated_lottery_codec);
     if (salerAddress_ != null)
     {
         output.WriteRawTag(18);
         output.WriteMessage(SalerAddress);
     }
     if (ProportionSale != 0)
     {
         output.WriteRawTag(24);
         output.WriteSInt32(ProportionSale);
     }
     if (ProportionBonus != 0)
     {
         output.WriteRawTag(32);
         output.WriteSInt32(ProportionBonus);
     }
     if (TargetPeriod != 0)
     {
         output.WriteRawTag(40);
         output.WriteSInt32(TargetPeriod);
     }
     if (senderAddress_ != null)
     {
         output.WriteRawTag(50);
         output.WriteMessage(SenderAddress);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Example #23
0
        public override void WriteTo(pb::CodedOutputStream output)
        {
            int size = SerializedSize;

            if (HasHirelingClass)
            {
                output.WriteSInt32(1, HirelingClass);
            }
            if (HasGbidName)
            {
                output.WriteSFixed32(2, GbidName);
            }
            if (HasLevel)
            {
                output.WriteSInt32(3, Level);
            }
            if (HasAttributeExperienceNext)
            {
                output.WriteUInt32(4, AttributeExperienceNext);
            }
            if (powerKeyParams_.Count > 0)
            {
                foreach (int element in powerKeyParams_)
                {
                    output.WriteSInt32(11, element);
                }
            }
            if (HasDead)
            {
                output.WriteBool(12, Dead);
            }
            UnknownFields.WriteTo(output);
        }
Example #24
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (ItemType != 0)
     {
         output.WriteRawTag(8);
         output.WriteEnum((int)ItemType);
     }
     if (ReourceId != 0)
     {
         output.WriteRawTag(16);
         output.WriteSInt32(ReourceId);
     }
     if (Reource != 0)
     {
         output.WriteRawTag(24);
         output.WriteSInt32(Reource);
     }
     if (Count != 0)
     {
         output.WriteRawTag(32);
         output.WriteSInt32(Count);
     }
     if (Group != 0)
     {
         output.WriteRawTag(40);
         output.WriteSInt32(Group);
     }
 }
Example #25
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (UserId != 0)
     {
         output.WriteRawTag(8);
         output.WriteSInt32(UserId);
     }
     if (UserName.Length != 0)
     {
         output.WriteRawTag(18);
         output.WriteString(UserName);
     }
     if (UserHead != 0)
     {
         output.WriteRawTag(24);
         output.WriteSInt32(UserHead);
     }
     if (LastLoginTime != 0L)
     {
         output.WriteRawTag(32);
         output.WriteInt64(LastLoginTime);
     }
     if (CardNum != 0)
     {
         output.WriteRawTag(40);
         output.WriteSInt32(CardNum);
     }
     if (DepartmentLevel != 0)
     {
         output.WriteRawTag(48);
         output.WriteSInt32(DepartmentLevel);
     }
 }
Example #26
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (ItemType != 0)
     {
         output.WriteRawTag(8);
         output.WriteEnum((int)ItemType);
     }
     if (ReourceId != 0)
     {
         output.WriteRawTag(16);
         output.WriteSInt32(ReourceId);
     }
     if (Reource != 0)
     {
         output.WriteRawTag(24);
         output.WriteSInt32(Reource);
     }
     if (EffectValue != 0)
     {
         output.WriteRawTag(32);
         output.WriteSInt32(EffectValue);
     }
     if (appearInfo_ != null)
     {
         output.WriteRawTag(42);
         output.WriteMessage(AppearInfo);
     }
     if (Speed != 0)
     {
         output.WriteRawTag(48);
         output.WriteSInt32(Speed);
     }
 }
Example #27
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (HirelingClass != 0)
     {
         output.WriteRawTag(8);
         output.WriteSInt32(HirelingClass);
     }
     if (GbidName != 0)
     {
         output.WriteRawTag(21);
         output.WriteSFixed32(GbidName);
     }
     if (LevelDeprecated != 0)
     {
         output.WriteRawTag(24);
         output.WriteSInt32(LevelDeprecated);
     }
     if (AttributeExperienceNextDeprecated != 0)
     {
         output.WriteRawTag(32);
         output.WriteUInt32(AttributeExperienceNextDeprecated);
     }
     powerKeyParams_.WriteTo(output, _repeated_powerKeyParams_codec);
     if (Dead != false)
     {
         output.WriteRawTag(48);
         output.WriteBool(Dead);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Example #28
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (MallId != 0)
     {
         output.WriteRawTag(8);
         output.WriteSInt32(MallId);
     }
     triggerGoalLists_.WriteTo(output, _repeated_triggerGoalLists_codec);
     if (TimeNum != 0)
     {
         output.WriteRawTag(24);
         output.WriteSInt32(TimeNum);
     }
     if (TriggerLimit != 0)
     {
         output.WriteRawTag(32);
         output.WriteSInt32(TriggerLimit);
     }
     freeAward_.WriteTo(output, _repeated_freeAward_codec);
     if (RefreshDay != 0)
     {
         output.WriteRawTag(48);
         output.WriteEnum((int)RefreshDay);
     }
 }
Example #29
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (UserId != 0)
     {
         output.WriteRawTag(8);
         output.WriteSInt32(UserId);
     }
     if (SceneId != 0)
     {
         output.WriteRawTag(16);
         output.WriteSInt32(SceneId);
     }
     if (PubState != 0)
     {
         output.WriteRawTag(24);
         output.WriteSInt32(PubState);
     }
     selectIds_.WriteTo(output, _repeated_selectIds_codec);
     if (CreateTime != 0L)
     {
         output.WriteRawTag(40);
         output.WriteSInt64(CreateTime);
     }
     if (PubTime != 0L)
     {
         output.WriteRawTag(48);
         output.WriteSInt64(PubTime);
     }
     if (TipState != 0)
     {
         output.WriteRawTag(56);
         output.WriteSInt32(TipState);
     }
 }
Example #30
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (UserId != 0)
     {
         output.WriteRawTag(8);
         output.WriteSInt32(UserId);
     }
     if (AppointmentId != 0)
     {
         output.WriteRawTag(16);
         output.WriteSInt32(AppointmentId);
     }
     if (ActiveState != 0)
     {
         output.WriteRawTag(24);
         output.WriteSInt32(ActiveState);
     }
     activeGates_.WriteTo(output, _repeated_activeGates_codec);
     finishGates_.WriteTo(output, _repeated_finishGates_codec);
     if (CreateTime != 0L)
     {
         output.WriteRawTag(48);
         output.WriteSInt64(CreateTime);
     }
     if (LastModifyTime != 0L)
     {
         output.WriteRawTag(56);
         output.WriteSInt64(LastModifyTime);
     }
 }