Use typed thermal bounds in schematic HUD
This commit is contained in:
parent
da27eb39b6
commit
0d286e095a
159 changed files with 317 additions and 267 deletions
|
|
@ -119,7 +119,9 @@ namespace GameCult.Aetheria.State.Unity
|
|||
string weaponCaliber,
|
||||
string weaponType,
|
||||
string weaponFireTypes,
|
||||
string weaponModifiers)
|
||||
string weaponModifiers,
|
||||
double minimumTemperature,
|
||||
double maximumTemperature)
|
||||
{
|
||||
LegacyId = legacyId;
|
||||
Name = name;
|
||||
|
|
@ -149,6 +151,8 @@ namespace GameCult.Aetheria.State.Unity
|
|||
WeaponType = weaponType;
|
||||
WeaponFireTypes = weaponFireTypes;
|
||||
WeaponModifiers = weaponModifiers;
|
||||
MinimumTemperature = minimumTemperature;
|
||||
MaximumTemperature = maximumTemperature;
|
||||
}
|
||||
|
||||
public string LegacyId { get; }
|
||||
|
|
@ -179,6 +183,8 @@ namespace GameCult.Aetheria.State.Unity
|
|||
public string WeaponType { get; }
|
||||
public string WeaponFireTypes { get; }
|
||||
public string WeaponModifiers { get; }
|
||||
public double MinimumTemperature { get; }
|
||||
public double MaximumTemperature { get; }
|
||||
}
|
||||
|
||||
public sealed class AetheriaRuntimeShapeCell
|
||||
|
|
|
|||
|
|
@ -195,7 +195,9 @@ namespace GameCult.Aetheria.State.Unity
|
|||
var interiorShapeCells = ReadFieldShapeCells(ref reader, fields, 29);
|
||||
var hardpoints = ReadFieldHardpoints(ref reader, fields, 30);
|
||||
var behaviorPayloads = ReadFieldBehaviorPayloads(ref reader, fields, 31);
|
||||
SkipRemaining(ref reader, fields, 32);
|
||||
var minimumTemperature = ReadFieldDouble(ref reader, fields, 32);
|
||||
var maximumTemperature = ReadFieldDouble(ref reader, fields, 33);
|
||||
SkipRemaining(ref reader, fields, 34);
|
||||
|
||||
return new AetheriaRuntimeCatalogItem(
|
||||
legacyId,
|
||||
|
|
@ -225,7 +227,9 @@ namespace GameCult.Aetheria.State.Unity
|
|||
weaponCaliber,
|
||||
weaponType,
|
||||
weaponFireTypes,
|
||||
weaponModifiers);
|
||||
weaponModifiers,
|
||||
minimumTemperature,
|
||||
maximumTemperature);
|
||||
}
|
||||
|
||||
private static AetheriaRuntimeCorporation ReadCorporation(byte[] payload)
|
||||
|
|
|
|||
Loading…
Reference in a new issue