Riwmorld
RimWorld.Building_TurretGun Class Reference
Inheritance diagram for RimWorld.Building_TurretGun:
RimWorld.Building_Turret Verse.Building Verse.AI.IAttackTarget Verse.ILoadReferenceable Verse.ThingWithComps Verse.ILoadReferenceable Verse.Thing Verse.Entity Verse.ILoadReferenceable Verse.IExposable Verse.ISelectable

Public Member Functions

override void Draw ()
 
override void DrawExtraSelectionOverlays ()
 
override void ExposeData ()
 
override IEnumerable< GizmoGetGizmos ()
 
override string GetInspectString ()
 
override void OrderAttack (LocalTargetInfo targ)
 
override void SpawnSetup (Verse.Map map)
 
override void Tick ()
 
- Public Member Functions inherited from RimWorld.Building_Turret
override void PreApplyDamage (DamageInfo dinfo, out bool absorbed)
 
bool ThreatDisabled ()
 
- Public Member Functions inherited from Verse.Building
virtual bool ClaimableBy (RimWorld.Faction by)
 
override void DeSpawn ()
 
override void Destroy (DestroyMode mode=0)
 
override void Draw ()
 
override void DrawExtraSelectionOverlays ()
 
override IEnumerable< GizmoGetGizmos ()
 
virtual ushort PathFindCostFor (Pawn p)
 
virtual ushort PathWalkCostFor (Pawn p)
 
override void PostApplyDamage (DamageInfo dinfo, float totalDamageDealt)
 
override void SetFaction (RimWorld.Faction newFaction, Pawn recruiter=null)
 
override void SpawnSetup (Verse.Map map)
 
- Public Member Functions inherited from Verse.ThingWithComps
void BroadcastCompSignal (string signal)
 
override bool CanStackWith (Thing other)
 
override void DeSpawn ()
 
override void Destroy (DestroyMode mode=0)
 
override void Draw ()
 
override void DrawExtraSelectionOverlays ()
 
override void ExposeData ()
 
GetComp< T > ()
 
ThingComp GetCompByDef (CompProperties def)
 
IEnumerable< T > GetComps< T > ()
 
override string GetDescription ()
 
override IEnumerable< FloatMenuOptionGetFloatMenuOptions (Pawn selPawn)
 
override IEnumerable< GizmoGetGizmos ()
 
override string GetInspectString ()
 
void InitializeComps ()
 
override void PostApplyDamage (DamageInfo dinfo, float totalDamageDealt)
 
override void PostMake ()
 
override void PreApplyDamage (DamageInfo dinfo, out bool absorbed)
 
override void PreTraded (TradeAction action, Pawn playerNegotiator, ITrader trader)
 
override void Print (SectionLayer layer)
 
virtual void PrintForPowerGrid (SectionLayer layer)
 
override void SpawnSetup (Verse.Map map)
 
override Thing SplitOff (int count)
 
override void Tick ()
 
override void TickRare ()
 
override bool TryAbsorbStack (Thing other, bool respectStackLimit)
 
- Public Member Functions inherited from Verse.Thing
virtual bool BlocksPawn (Pawn p)
 
virtual IEnumerable< ThingButcherProducts (Pawn butcher, float efficiency)
 
void ClearMapReferencesToMeForDestroy (Verse.Map map)
 
void DecrementMapIndex ()
 
virtual void Discard ()
 
virtual void DrawAt (Vector3 drawLoc)
 
virtual void DrawGUIOverlay ()
 
override int GetHashCode ()
 
virtual string GetInspectStringLowPriority ()
 
virtual IEnumerable< InspectTabBaseGetInspectTabs ()
 
virtual TipSignal GetTooltip ()
 
string GetUniqueLoadID ()
 
float Ingested (Pawn ingester, float nutritionWanted)
 
virtual void Notify_ColorChanged ()
 
void Notify_MyMapRemoved ()
 
virtual void PostMapInit ()
 
virtual bool PreventPlayerSellingThingsNearby (out string reason)
 
void SetFactionDirect (RimWorld.Faction newFaction)
 
void SetPositionDirect (IntVec3 newPos)
 
void SetStuffDirect (ThingDef newStuff)
 
virtual IEnumerable< ThingSmeltProducts (float efficiency)
 
override void SpawnSetup (Verse.Map map)
 
void TakeDamage (DamageInfo dinfo)
 
override string ToString ()
 
- Public Member Functions inherited from Verse.Entity
abstract void SpawnSetup (Map map)
 
virtual void TickLong ()
 
override string ToString ()
 

Public Attributes

bool loaded
 
- Public Attributes inherited from Verse.Thing
ThingDef def
 
int thingIDNumber = -1
 
int stackCount = 1
 
ThingContainer holdingContainer
 

Static Public Attributes

static Material ForcedTargetLineMat
 
- Static Public Attributes inherited from Verse.Thing
static bool allowDestroyNonDestroyable
 

Protected Member Functions

void BeginBurst ()
 
void BurstComplete ()
 
LocalTargetInfo TryFindNewTarget ()
 
void TryStartShootSomething ()
 
- Protected Member Functions inherited from Verse.ThingWithComps
void Comps_PostDraw ()
 
string InspectStringPartsFromComps ()
 
override void PostIngested (Pawn ingester)
 
virtual void ReceiveCompSignal (string signal)
 
- Protected Member Functions inherited from Verse.Thing
virtual void IngestedCalculateAmounts (Pawn ingester, float nutritionWanted, out int numTaken, out float nutritionIngested)
 

Protected Attributes

TurretTop top
 
CompPowerTrader powerComp
 
CompMannable mannableComp
 
LocalTargetInfo currentTargetInt = LocalTargetInfo.Invalid
 
int burstWarmupTicksLeft
 
int burstCooldownTicksLeft
 
- Protected Attributes inherited from RimWorld.Building_Turret
StunHandler stunner
 
LocalTargetInfo forcedTarget = LocalTargetInfo.Invalid
 
- Protected Attributes inherited from Verse.Thing
RimWorld.Faction factionInt
 

Properties

override Verb AttackVerb [get]
 
override LocalTargetInfo CurrentTarget [get]
 
Thing Gun [get]
 
CompEquippable GunCompEq [get]
 
- Properties inherited from RimWorld.Building_Turret
abstract Verb AttackVerb [get]
 
abstract LocalTargetInfo CurrentTarget [get]
 
- Properties inherited from Verse.Building
override int HitPoints [set]
 
CompPower PowerComp [get]
 
virtual bool TransmitsPowerNow [get]
 
- Properties inherited from Verse.ThingWithComps
List< ThingCompAllComps [get]
 
override Color DrawColor [get, set]
 
override string LabelNoCount [get]
 
- Properties inherited from Verse.Thing
bool Destroyed [get]
 
bool Discarded [get]
 
virtual Color DrawColor [get, set]
 
virtual Color DrawColorTwo [get]
 
virtual Vector3 DrawPos [get]
 
RimWorld.Faction Faction [get]
 
bool FlammableNow [get]
 
virtual Verse.Graphic Graphic [get]
 
virtual int HitPoints [get, set]
 
virtual bool IngestibleNow [get]
 
virtual IntVec3 InteractionCell [get]
 
override string Label [get]
 
override string LabelCap [get]
 
virtual string LabelCapNoCount [get]
 
virtual string LabelNoCount [get]
 
override string LabelShort [get]
 
Verse.Map Map [get]
 
Verse.Map MapHeld [get]
 
float MarketValue [get]
 
int MaxHitPoints [get]
 
IntVec3 Position [get, set]
 
IntVec3 PositionHeld [get]
 
IntVec2 RotatedSize [get]
 
Rot4 Rotation [get, set]
 
bool Smeltable [get]
 
bool Spawned [get]
 
virtual IEnumerable< StatDrawEntrySpecialDisplayStats [get]
 
ThingDef Stuff [get]
 
string ThingID [get, set]
 
- Properties inherited from Verse.Entity
abstract string Label [get]
 
abstract string LabelCap [get]
 
virtual string LabelMouseover [get]
 
virtual string LabelShort [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from Verse.Thing
static int IDNumberFromThingID (string thingID)
 
static IntVec3 InteractionCellWhenAt (ThingDef def, IntVec3 center, Rot4 rot, Verse.Map map)
 

The documentation for this class was generated from the following file: