C# Class MobileMineralSonar.Building_MobileMineralSonar

Inheritance: Building
Afficher le fichier Open project: Rikiki123456789/Rimworld Class Usage Examples

Méthodes publiques

Свойство Type Description
detectedDefList List
detectionChance float
maxScanRange int
powerComp CompPowerTrader
satelliteDish UnityEngine.Material
satelliteDishMatrix UnityEngine.Matrix4x4
satelliteDishRotation float
satelliteDishScale Vector3
scanProgress int
scanRange int
scanRange10 UnityEngine.Material
scanRange20 UnityEngine.Material
scanRange30 UnityEngine.Material
scanRange40 UnityEngine.Material
scanRange50 UnityEngine.Material
scanRangeDynamic UnityEngine.Material
scanRangeDynamicMatrix UnityEngine.Matrix4x4
scanRangeDynamicScale Vector3
scanRangeMatrix10 UnityEngine.Matrix4x4
scanRangeMatrix20 UnityEngine.Matrix4x4
scanRangeMatrix30 UnityEngine.Matrix4x4
scanRangeMatrix40 UnityEngine.Matrix4x4
scanRangeMatrix50 UnityEngine.Matrix4x4
scanRangeScale10 Vector3
scanRangeScale20 Vector3
scanRangeScale30 Vector3
scanRangeScale40 Vector3
scanRangeScale50 Vector3
scanRayDynamic UnityEngine.Material
scanRayDynamicMatrix UnityEngine.Matrix4x4
scanRayDynamicScale Vector3
scanSpot UnityEngine.Material
scanSpotMatrix UnityEngine.Matrix4x4
scanSpotScale Vector3

Méthodes publiques

Méthode Description
Destroy ( DestroyMode mode = DestroyMode.Vanish ) : void

Destroy the mobile mineral sonar and reset its state when deconstructed.

Draw ( ) : void
DrawDynamicScanRangeAndScanRay ( ) : void

Draw the dynamic scan range and scan ray.

DrawMaxScanRange ( ) : void

Draw the max scan range.

DrawSatelliteDish ( ) : void

Draw the satellite dish.

DrawScanSpotOnThingsWithinScanRange ( ThingDef thingDefParameter ) : void

Draw the scan spots on things of def thingDefParameter within scan range.

ExposeData ( ) : void

Save and load mobile mineral sonar internal state variables (stored in savegame data).

GetInspectString ( ) : string

Build the string giving some basic information that is shown when the mobile mineral sonar is selected.

PerformScanUpdate ( ) : void

Perform the scan update and update the satellite dish rotation.

SpawnSetup ( ) : void

Initialize instance variables.

Tick ( ) : void

Main function: - update the scan range, - draw the satellite dish, - draw the scan range only when the mobile mineral sonar is selected.

TryUpdateScanParameters ( ) : void
UnfogSomeRandomThingAtScanRange ( ThingDef thingDefParameter ) : void

Unfog some of the things of type thingDefParameter at scanRange.

Method Details

Destroy() public méthode

Destroy the mobile mineral sonar and reset its state when deconstructed.
public Destroy ( DestroyMode mode = DestroyMode.Vanish ) : void
mode DestroyMode
Résultat void

Draw() public méthode

public Draw ( ) : void
Résultat void

DrawDynamicScanRangeAndScanRay() public méthode

Draw the dynamic scan range and scan ray.
public DrawDynamicScanRangeAndScanRay ( ) : void
Résultat void

DrawMaxScanRange() public méthode

Draw the max scan range.
public DrawMaxScanRange ( ) : void
Résultat void

DrawSatelliteDish() public méthode

Draw the satellite dish.
public DrawSatelliteDish ( ) : void
Résultat void

DrawScanSpotOnThingsWithinScanRange() public méthode

Draw the scan spots on things of def thingDefParameter within scan range.
public DrawScanSpotOnThingsWithinScanRange ( ThingDef thingDefParameter ) : void
thingDefParameter ThingDef
Résultat void

ExposeData() public méthode

Save and load mobile mineral sonar internal state variables (stored in savegame data).
public ExposeData ( ) : void
Résultat void

GetInspectString() public méthode

Build the string giving some basic information that is shown when the mobile mineral sonar is selected.
public GetInspectString ( ) : string
Résultat string

PerformScanUpdate() public méthode

Perform the scan update and update the satellite dish rotation.
public PerformScanUpdate ( ) : void
Résultat void

SpawnSetup() public méthode

Initialize instance variables.
public SpawnSetup ( ) : void
Résultat void

Tick() public méthode

Main function: - update the scan range, - draw the satellite dish, - draw the scan range only when the mobile mineral sonar is selected.
public Tick ( ) : void
Résultat void

TryUpdateScanParameters() public static méthode

public static TryUpdateScanParameters ( ) : void
Résultat void

UnfogSomeRandomThingAtScanRange() public méthode

Unfog some of the things of type thingDefParameter at scanRange.
public UnfogSomeRandomThingAtScanRange ( ThingDef thingDefParameter ) : void
thingDefParameter ThingDef
Résultat void

Property Details

detectedDefList public_oe property

public List detectedDefList
Résultat List

detectionChance public_oe static_oe property

public static float detectionChance
Résultat float

maxScanRange public_oe static_oe property

public static int maxScanRange
Résultat int

powerComp public_oe property

public CompPowerTrader powerComp
Résultat CompPowerTrader

satelliteDish public_oe static_oe property

public static Material,UnityEngine satelliteDish
Résultat UnityEngine.Material

satelliteDishMatrix public_oe property

public Matrix4x4,UnityEngine satelliteDishMatrix
Résultat UnityEngine.Matrix4x4

satelliteDishRotation public_oe property

public float satelliteDishRotation
Résultat float

satelliteDishScale public_oe property

public Vector3 satelliteDishScale
Résultat Vector3

scanProgress public_oe property

public int scanProgress
Résultat int

scanRange public_oe property

public int scanRange
Résultat int

scanRange10 public_oe static_oe property

public static Material,UnityEngine scanRange10
Résultat UnityEngine.Material

scanRange20 public_oe static_oe property

public static Material,UnityEngine scanRange20
Résultat UnityEngine.Material

scanRange30 public_oe static_oe property

public static Material,UnityEngine scanRange30
Résultat UnityEngine.Material

scanRange40 public_oe static_oe property

public static Material,UnityEngine scanRange40
Résultat UnityEngine.Material

scanRange50 public_oe static_oe property

public static Material,UnityEngine scanRange50
Résultat UnityEngine.Material

scanRangeDynamic public_oe property

public Material,UnityEngine scanRangeDynamic
Résultat UnityEngine.Material

scanRangeDynamicMatrix public_oe property

public Matrix4x4,UnityEngine scanRangeDynamicMatrix
Résultat UnityEngine.Matrix4x4

scanRangeDynamicScale public_oe property

public Vector3 scanRangeDynamicScale
Résultat Vector3

scanRangeMatrix10 public_oe property

public Matrix4x4,UnityEngine scanRangeMatrix10
Résultat UnityEngine.Matrix4x4

scanRangeMatrix20 public_oe property

public Matrix4x4,UnityEngine scanRangeMatrix20
Résultat UnityEngine.Matrix4x4

scanRangeMatrix30 public_oe property

public Matrix4x4,UnityEngine scanRangeMatrix30
Résultat UnityEngine.Matrix4x4

scanRangeMatrix40 public_oe property

public Matrix4x4,UnityEngine scanRangeMatrix40
Résultat UnityEngine.Matrix4x4

scanRangeMatrix50 public_oe property

public Matrix4x4,UnityEngine scanRangeMatrix50
Résultat UnityEngine.Matrix4x4

scanRangeScale10 public_oe property

public Vector3 scanRangeScale10
Résultat Vector3

scanRangeScale20 public_oe property

public Vector3 scanRangeScale20
Résultat Vector3

scanRangeScale30 public_oe property

public Vector3 scanRangeScale30
Résultat Vector3

scanRangeScale40 public_oe property

public Vector3 scanRangeScale40
Résultat Vector3

scanRangeScale50 public_oe property

public Vector3 scanRangeScale50
Résultat Vector3

scanRayDynamic public_oe static_oe property

public static Material,UnityEngine scanRayDynamic
Résultat UnityEngine.Material

scanRayDynamicMatrix public_oe property

public Matrix4x4,UnityEngine scanRayDynamicMatrix
Résultat UnityEngine.Matrix4x4

scanRayDynamicScale public_oe property

public Vector3 scanRayDynamicScale
Résultat Vector3

scanSpot public_oe static_oe property

public static Material,UnityEngine scanSpot
Résultat UnityEngine.Material

scanSpotMatrix public_oe property

public Matrix4x4,UnityEngine scanSpotMatrix
Résultat UnityEngine.Matrix4x4

scanSpotScale public_oe property

public Vector3 scanSpotScale
Résultat Vector3