public override void WriteTo(pb::ICodedOutputStream output) { int size = SerializedSize; string[] field_names = _infoFieldNames; if (hasHirelingClass) { output.WriteSInt32(1, field_names[3], HirelingClass); } if (hasGbidName) { output.WriteSFixed32(2, field_names[2], GbidName); } if (hasLevel) { output.WriteSInt32(3, field_names[4], Level); } if (hasAttributeExperienceNext) { output.WriteUInt32(4, field_names[0], AttributeExperienceNext); } if (powerKeyParams_.Count > 0) { output.WriteSInt32Array(11, field_names[5], powerKeyParams_); } if (hasDead) { output.WriteBool(12, field_names[1], Dead); } UnknownFields.WriteTo(output); }
public override void WriteTo(pb::ICodedOutputStream output) { int size = SerializedSize; string[] field_names = _handleFieldNames; if (hasGameBalanceType) { output.WriteSInt32(1, field_names[0], GameBalanceType); } if (hasGbid) { output.WriteSFixed32(2, field_names[1], Gbid); } UnknownFields.WriteTo(output); }
public override void WriteTo(pb::ICodedOutputStream output) { int size = SerializedSize; string[] field_names = _questRewardFieldNames; if (hasXpGranted) { output.WriteInt32(1, field_names[3], XpGranted); } if (hasGoldGranted) { output.WriteInt32(2, field_names[0], GoldGranted); } if (hasItemGranted) { output.WriteMessage(3, field_names[1], ItemGranted); } if (hasSnoQuest) { output.WriteSFixed32(4, field_names[2], SnoQuest); } UnknownFields.WriteTo(output); }