C# Class ForceField.Building_ForceFieldGenerator

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

Méthodes publiques

Свойство Type Description
barFilledColor UnityEngine.Material
barSize Vector2
barUnfilledColor UnityEngine.Material
coveredCells List
drawingCounterInTicks int
effectCells List
forceFieldAbsorbtionMatrix UnityEngine.Matrix4x4
forceFieldAbsorbtionTexture UnityEngine.Material[]
forceFieldCharge float
forceFieldMatrix UnityEngine.Matrix4x4
forceFieldScale Vector3
forceFieldState ForceFieldState
forceFieldTexture UnityEngine.Material[]
initializationElapsedTimeInTicks int
matrixAbsorbtionCounterInTicks int[]
matrixAbsorbtionFadingCoefficient float[]
matrixFadingCoefficient float[]
matrixIsStartingAbsorbion bool[]
powerComp CompPowerTrader

Méthodes publiques

Méthode Description
ActivateMatrixAbsorbtionEffect ( Vector3 absorbtionPosition ) : void
ComputeDrawingParameters ( ) : void
DisplayCoveredCells ( List coverdCellsList ) : void
Draw ( ) : void
ExposeData ( ) : void

Saves and loads internal state variables (stored in savegame data).

GetCoveredCells ( IntVec3 origin, Rot4 rotation ) : List
GetIncomingProjectiles ( ) : List
GetInspectString ( ) : string

Get the string displayed in the inspection panel.

GetStateAsString ( ForceFieldState state ) : string

Gets the state as a string.

IsProjectileIncoming ( ProjectileWithAngle &projectileWithAngle ) : bool
SpawnSetup ( ) : void

Initialize instance variables.

Tick ( ) : void
TreatExplosiveProjectile ( ProjectileWithAngle projectileWithAngle ) : void
TreatRocketProjectile ( ProjectileWithAngle projectileWithAngle ) : void
TreatStandardProjectile ( ProjectileWithAngle projectileWithAngle ) : void
TryAbsorbIncomingProjectiles ( ) : void

Method Details

ActivateMatrixAbsorbtionEffect() public méthode

public ActivateMatrixAbsorbtionEffect ( Vector3 absorbtionPosition ) : void
absorbtionPosition Vector3
Résultat void

ComputeDrawingParameters() public méthode

public ComputeDrawingParameters ( ) : void
Résultat void

DisplayCoveredCells() public static méthode

public static DisplayCoveredCells ( List coverdCellsList ) : void
coverdCellsList List
Résultat void

Draw() public méthode

public Draw ( ) : void
Résultat void

ExposeData() public méthode

Saves and loads internal state variables (stored in savegame data).
public ExposeData ( ) : void
Résultat void

GetCoveredCells() public static méthode

public static GetCoveredCells ( IntVec3 origin, Rot4 rotation ) : List
origin IntVec3
rotation Rot4
Résultat List

GetIncomingProjectiles() public méthode

public GetIncomingProjectiles ( ) : List
Résultat List

GetInspectString() public méthode

Get the string displayed in the inspection panel.
public GetInspectString ( ) : string
Résultat string

GetStateAsString() public méthode

Gets the state as a string.
public GetStateAsString ( ForceFieldState state ) : string
state ForceFieldState
Résultat string

IsProjectileIncoming() public méthode

public IsProjectileIncoming ( ProjectileWithAngle &projectileWithAngle ) : bool
projectileWithAngle ProjectileWithAngle
Résultat bool

SpawnSetup() public méthode

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

Tick() public méthode

public Tick ( ) : void
Résultat void

TreatExplosiveProjectile() public méthode

public TreatExplosiveProjectile ( ProjectileWithAngle projectileWithAngle ) : void
projectileWithAngle ProjectileWithAngle
Résultat void

TreatRocketProjectile() public méthode

public TreatRocketProjectile ( ProjectileWithAngle projectileWithAngle ) : void
projectileWithAngle ProjectileWithAngle
Résultat void

TreatStandardProjectile() public méthode

public TreatStandardProjectile ( ProjectileWithAngle projectileWithAngle ) : void
projectileWithAngle ProjectileWithAngle
Résultat void

TryAbsorbIncomingProjectiles() public méthode

public TryAbsorbIncomingProjectiles ( ) : void
Résultat void

Property Details

barFilledColor public_oe static_oe property

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

barSize public_oe static_oe property

public static Vector2 barSize
Résultat Vector2

barUnfilledColor public_oe static_oe property

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

coveredCells public_oe property

public List coveredCells
Résultat List

drawingCounterInTicks public_oe property

public int drawingCounterInTicks
Résultat int

effectCells public_oe property

public List effectCells
Résultat List

forceFieldAbsorbtionMatrix public_oe property

public Matrix4x4,UnityEngine forceFieldAbsorbtionMatrix
Résultat UnityEngine.Matrix4x4

forceFieldAbsorbtionTexture public_oe static_oe property

public static Material[],UnityEngine forceFieldAbsorbtionTexture
Résultat UnityEngine.Material[]

forceFieldCharge public_oe property

public float forceFieldCharge
Résultat float

forceFieldMatrix public_oe property

public Matrix4x4,UnityEngine forceFieldMatrix
Résultat UnityEngine.Matrix4x4

forceFieldScale public_oe property

public Vector3 forceFieldScale
Résultat Vector3

forceFieldState public_oe property

public ForceFieldState forceFieldState
Résultat ForceFieldState

forceFieldTexture public_oe static_oe property

public static Material[],UnityEngine forceFieldTexture
Résultat UnityEngine.Material[]

initializationElapsedTimeInTicks public_oe property

public int initializationElapsedTimeInTicks
Résultat int

matrixAbsorbtionCounterInTicks public_oe property

public int[] matrixAbsorbtionCounterInTicks
Résultat int[]

matrixAbsorbtionFadingCoefficient public_oe property

public float[] matrixAbsorbtionFadingCoefficient
Résultat float[]

matrixFadingCoefficient public_oe property

public float[] matrixFadingCoefficient
Résultat float[]

matrixIsStartingAbsorbion public_oe property

public bool[] matrixIsStartingAbsorbion
Résultat bool[]

powerComp public_oe property

public CompPowerTrader powerComp
Résultat CompPowerTrader