public override void WriteTo(ICodedOutputStream output) { int serializedSize = this.SerializedSize; string[] strArray = _vitalsFieldNames; if (this.hasHealth) { output.WriteFloat(1, strArray[5], this.Health); } if (this.hasHydration) { output.WriteFloat(2, strArray[6], this.Hydration); } if (this.hasCalories) { output.WriteFloat(3, strArray[2], this.Calories); } if (this.hasRadiation) { output.WriteFloat(4, strArray[7], this.Radiation); } if (this.hasRadiationAnti) { output.WriteFloat(5, strArray[8], this.RadiationAnti); } if (this.hasBleedSpeed) { output.WriteFloat(6, strArray[1], this.BleedSpeed); } if (this.hasBleedMax) { output.WriteFloat(7, strArray[0], this.BleedMax); } if (this.hasHealSpeed) { output.WriteFloat(8, strArray[4], this.HealSpeed); } if (this.hasHealMax) { output.WriteFloat(9, strArray[3], this.HealMax); } if (this.hasTemperature) { output.WriteFloat(10, strArray[9], this.Temperature); } this.get_UnknownFields().WriteTo(output); }
// Token: 0x06000FEA RID: 4074 RVA: 0x0003C2CC File Offset: 0x0003A4CC public override void WriteTo(ICodedOutputStream output) { int serializedSize = this.SerializedSize; string[] vitalsFieldNames = RustProto.Vitals._vitalsFieldNames; if (this.hasHealth) { output.WriteFloat(1, vitalsFieldNames[5], this.Health); } if (this.hasHydration) { output.WriteFloat(2, vitalsFieldNames[6], this.Hydration); } if (this.hasCalories) { output.WriteFloat(3, vitalsFieldNames[2], this.Calories); } if (this.hasRadiation) { output.WriteFloat(4, vitalsFieldNames[7], this.Radiation); } if (this.hasRadiationAnti) { output.WriteFloat(5, vitalsFieldNames[8], this.RadiationAnti); } if (this.hasBleedSpeed) { output.WriteFloat(6, vitalsFieldNames[1], this.BleedSpeed); } if (this.hasBleedMax) { output.WriteFloat(7, vitalsFieldNames[0], this.BleedMax); } if (this.hasHealSpeed) { output.WriteFloat(8, vitalsFieldNames[4], this.HealSpeed); } if (this.hasHealMax) { output.WriteFloat(9, vitalsFieldNames[3], this.HealMax); } if (this.hasTemperature) { output.WriteFloat(10, vitalsFieldNames[9], this.Temperature); } this.UnknownFields.WriteTo(output); }
public override void WriteTo(ICodedOutputStream output) { int serializedSize = this.SerializedSize; string[] strArray = _vectorFieldNames; if (this.hasX) { output.WriteFloat(1, strArray[0], this.X); } if (this.hasY) { output.WriteFloat(2, strArray[1], this.Y); } if (this.hasZ) { output.WriteFloat(3, strArray[2], this.Z); } this.get_UnknownFields().WriteTo(output); }
// Token: 0x060014A7 RID: 5287 RVA: 0x00046A80 File Offset: 0x00044C80 public override void WriteTo(ICodedOutputStream output) { int serializedSize = this.SerializedSize; string[] vectorFieldNames = Vector._vectorFieldNames; if (this.hasX) { output.WriteFloat(1, vectorFieldNames[0], this.X); } if (this.hasY) { output.WriteFloat(2, vectorFieldNames[1], this.Y); } if (this.hasZ) { output.WriteFloat(3, vectorFieldNames[2], this.Z); } this.UnknownFields.WriteTo(output); }
// Token: 0x0600134F RID: 4943 RVA: 0x000441F0 File Offset: 0x000423F0 public override void WriteTo(ICodedOutputStream output) { int serializedSize = this.SerializedSize; string[] objectTakeDamageFieldNames = objectTakeDamage._objectTakeDamageFieldNames; if (this.hasHealth) { output.WriteFloat(1, objectTakeDamageFieldNames[0], this.Health); } this.UnknownFields.WriteTo(output); }
public override void WriteTo(ICodedOutputStream output) { int serializedSize = this.SerializedSize; string[] strArray = _objectTakeDamageFieldNames; if (this.hasHealth) { output.WriteFloat(1, strArray[0], this.Health); } this.get_UnknownFields().WriteTo(output); }
public override void WriteTo(ICodedOutputStream output) { int serializedSize = this.SerializedSize; string[] strArray = _itemFieldNames; if (this.hasId) { output.WriteInt32(1, strArray[2], this.Id); } if (this.hasName) { output.WriteString(2, strArray[4], this.Name); } if (this.hasSlot) { output.WriteInt32(3, strArray[5], this.Slot); } if (this.hasCount) { output.WriteInt32(4, strArray[1], this.Count); } if (this.subitem_.get_Count() > 0) { output.WriteMessageArray <Item>(5, strArray[6], this.subitem_); } if (this.hasSubslots) { output.WriteInt32(6, strArray[7], this.Subslots); } if (this.hasCondition) { output.WriteFloat(7, strArray[0], this.Condition); } if (this.hasMaxcondition) { output.WriteFloat(8, strArray[3], this.Maxcondition); } this.get_UnknownFields().WriteTo(output); }
// Token: 0x06001056 RID: 4182 RVA: 0x0003D2B8 File Offset: 0x0003B4B8 public override void WriteTo(ICodedOutputStream output) { int serializedSize = this.SerializedSize; string[] itemFieldNames = RustProto.Item._itemFieldNames; if (this.hasId) { output.WriteInt32(1, itemFieldNames[2], this.Id); } if (this.hasName) { output.WriteString(2, itemFieldNames[4], this.Name); } if (this.hasSlot) { output.WriteInt32(3, itemFieldNames[5], this.Slot); } if (this.hasCount) { output.WriteInt32(4, itemFieldNames[1], this.Count); } if (this.subitem_.Count > 0) { output.WriteMessageArray <RustProto.Item>(5, itemFieldNames[6], this.subitem_); } if (this.hasSubslots) { output.WriteInt32(6, itemFieldNames[7], this.Subslots); } if (this.hasCondition) { output.WriteFloat(7, itemFieldNames[0], this.Condition); } if (this.hasMaxcondition) { output.WriteFloat(8, itemFieldNames[3], this.Maxcondition); } this.UnknownFields.WriteTo(output); }
public override void WriteTo(ICodedOutputStream output) { int serializedSize = this.SerializedSize; string[] strArray = _quaternionFieldNames; if (this.hasX) { output.WriteFloat(1, strArray[1], this.X); } if (this.hasY) { output.WriteFloat(2, strArray[2], this.Y); } if (this.hasZ) { output.WriteFloat(3, strArray[3], this.Z); } if (this.hasW) { output.WriteFloat(4, strArray[0], this.W); } this.UnknownFields.WriteTo(output); }
// Token: 0x06001434 RID: 5172 RVA: 0x00045CB8 File Offset: 0x00043EB8 public override void WriteTo(ICodedOutputStream output) { int serializedSize = this.SerializedSize; string[] objectStructMasterFieldNames = objectStructMaster._objectStructMasterFieldNames; if (this.hasID) { output.WriteInt32(1, objectStructMasterFieldNames[2], this.ID); } if (this.hasDecayDelay) { output.WriteFloat(2, objectStructMasterFieldNames[1], this.DecayDelay); } if (this.hasCreatorID) { output.WriteUInt64(3, objectStructMasterFieldNames[0], this.CreatorID); } if (this.hasOwnerID) { output.WriteUInt64(4, objectStructMasterFieldNames[3], this.OwnerID); } this.UnknownFields.WriteTo(output); }