C# 클래스 OutpostGenerator.OG_Common

OG_Common class.
파일 보기 프로젝트 열기: Rikiki123456789/Rimworld 1 사용 예제들

공개 메소드들

메소드 설명
GenerateEmptyRoomAt ( IntVec3 rotatedOrigin, int width, int height, Rot4 rotation, TerrainDef defaultFloorDef, TerrainDef interiorFloorDef, OG_OutpostData &outpostData ) : void
GenerateHorizontalAndVerticalPavedAlleys ( IntVec3 origin ) : void
GenerateSas ( IntVec3 origin, Rot4 rotation, int width, int height, OG_OutpostData &outpostData ) : void
GetRandomZoneTypeBigRoom ( OG_OutpostData outpostData ) : ZoneType
GetRandomZoneTypeExteriorZone ( OG_OutpostData outpostData ) : ZoneType
GetRandomZoneTypeMediumRoom ( OG_OutpostData outpostData ) : ZoneType
GetRandomZoneTypeSmallRoom ( OG_OutpostData outpostData ) : ZoneType
SpawnCoolerAt ( IntVec3 position, Rot4 rotation, OG_OutpostData &outpostData ) : Building_Cooler
SpawnDoorAt ( IntVec3 position, OG_OutpostData &outpostData ) : void
SpawnFireproofPowerConduitAt ( IntVec3 position, OG_OutpostData &outpostData ) : void
SpawnRectTriggerUnfogArea ( CellRect rect, TriggerIntrusion &triggerIntrusion ) : void
SpawnResourceAt ( ThingDef resourceDef, int quantity, IntVec3 position, bool forceSpawn = false ) : void
SpawnVentAt ( IntVec3 position, Rot4 rotation, OG_OutpostData &outpostData ) : void
TrySpawnHeaterAt ( IntVec3 position, OG_OutpostData &outpostData ) : void
TrySpawnLampAt ( IntVec3 position, Color color, OG_OutpostData &outpostData ) : void
TrySpawnLaserFencePylonAt ( IntVec3 position, OG_OutpostData &outpostData ) : LaserFence.Building_LaserFencePylon
TrySpawnResourceStock ( IntVec3 rotatedOrigin, Rot4 rotation, ThingDef resourceDef, int stockWidth, int stockHeight, float spawnStockChance, int minQuantity, int maxQuantity ) : void
TrySpawnThingAt ( ThingDef thingDef, ThingDef stuffDef, IntVec3 position, bool rotated, Rot4 rotation, OG_OutpostData &outpostData, bool destroyThings = false, bool replaceStructure = false ) : Thing
TrySpawnWallAt ( IntVec3 position, OG_OutpostData &outpostData ) : void
TrySpawnWeaponOnRack ( Thing rack ) : void

비공개 메소드들

메소드 설명
GetRandomZoneTypeByWeight ( List list ) : ZoneType

메소드 상세

GenerateEmptyRoomAt() 공개 정적인 메소드

public static GenerateEmptyRoomAt ( IntVec3 rotatedOrigin, int width, int height, Rot4 rotation, TerrainDef defaultFloorDef, TerrainDef interiorFloorDef, OG_OutpostData &outpostData ) : void
rotatedOrigin IntVec3
width int
height int
rotation Rot4
defaultFloorDef TerrainDef
interiorFloorDef TerrainDef
outpostData OG_OutpostData
리턴 void

GenerateHorizontalAndVerticalPavedAlleys() 공개 정적인 메소드

public static GenerateHorizontalAndVerticalPavedAlleys ( IntVec3 origin ) : void
origin IntVec3
리턴 void

GenerateSas() 공개 정적인 메소드

public static GenerateSas ( IntVec3 origin, Rot4 rotation, int width, int height, OG_OutpostData &outpostData ) : void
origin IntVec3
rotation Rot4
width int
height int
outpostData OG_OutpostData
리턴 void

GetRandomZoneTypeBigRoom() 공개 정적인 메소드

public static GetRandomZoneTypeBigRoom ( OG_OutpostData outpostData ) : ZoneType
outpostData OG_OutpostData
리턴 ZoneType

GetRandomZoneTypeExteriorZone() 공개 정적인 메소드

public static GetRandomZoneTypeExteriorZone ( OG_OutpostData outpostData ) : ZoneType
outpostData OG_OutpostData
리턴 ZoneType

GetRandomZoneTypeMediumRoom() 공개 정적인 메소드

public static GetRandomZoneTypeMediumRoom ( OG_OutpostData outpostData ) : ZoneType
outpostData OG_OutpostData
리턴 ZoneType

GetRandomZoneTypeSmallRoom() 공개 정적인 메소드

public static GetRandomZoneTypeSmallRoom ( OG_OutpostData outpostData ) : ZoneType
outpostData OG_OutpostData
리턴 ZoneType

SpawnCoolerAt() 공개 정적인 메소드

public static SpawnCoolerAt ( IntVec3 position, Rot4 rotation, OG_OutpostData &outpostData ) : Building_Cooler
position IntVec3
rotation Rot4
outpostData OG_OutpostData
리턴 Building_Cooler

SpawnDoorAt() 공개 정적인 메소드

public static SpawnDoorAt ( IntVec3 position, OG_OutpostData &outpostData ) : void
position IntVec3
outpostData OG_OutpostData
리턴 void

SpawnFireproofPowerConduitAt() 공개 정적인 메소드

public static SpawnFireproofPowerConduitAt ( IntVec3 position, OG_OutpostData &outpostData ) : void
position IntVec3
outpostData OG_OutpostData
리턴 void

SpawnRectTriggerUnfogArea() 공개 정적인 메소드

public static SpawnRectTriggerUnfogArea ( CellRect rect, TriggerIntrusion &triggerIntrusion ) : void
rect CellRect
triggerIntrusion TriggerIntrusion
리턴 void

SpawnResourceAt() 공개 정적인 메소드

public static SpawnResourceAt ( ThingDef resourceDef, int quantity, IntVec3 position, bool forceSpawn = false ) : void
resourceDef ThingDef
quantity int
position IntVec3
forceSpawn bool
리턴 void

SpawnVentAt() 공개 정적인 메소드

public static SpawnVentAt ( IntVec3 position, Rot4 rotation, OG_OutpostData &outpostData ) : void
position IntVec3
rotation Rot4
outpostData OG_OutpostData
리턴 void

TrySpawnHeaterAt() 공개 정적인 메소드

public static TrySpawnHeaterAt ( IntVec3 position, OG_OutpostData &outpostData ) : void
position IntVec3
outpostData OG_OutpostData
리턴 void

TrySpawnLampAt() 공개 정적인 메소드

public static TrySpawnLampAt ( IntVec3 position, Color color, OG_OutpostData &outpostData ) : void
position IntVec3
color Color
outpostData OG_OutpostData
리턴 void

TrySpawnLaserFencePylonAt() 공개 정적인 메소드

public static TrySpawnLaserFencePylonAt ( IntVec3 position, OG_OutpostData &outpostData ) : LaserFence.Building_LaserFencePylon
position IntVec3
outpostData OG_OutpostData
리턴 LaserFence.Building_LaserFencePylon

TrySpawnResourceStock() 공개 정적인 메소드

public static TrySpawnResourceStock ( IntVec3 rotatedOrigin, Rot4 rotation, ThingDef resourceDef, int stockWidth, int stockHeight, float spawnStockChance, int minQuantity, int maxQuantity ) : void
rotatedOrigin IntVec3
rotation Rot4
resourceDef ThingDef
stockWidth int
stockHeight int
spawnStockChance float
minQuantity int
maxQuantity int
리턴 void

TrySpawnThingAt() 공개 정적인 메소드

public static TrySpawnThingAt ( ThingDef thingDef, ThingDef stuffDef, IntVec3 position, bool rotated, Rot4 rotation, OG_OutpostData &outpostData, bool destroyThings = false, bool replaceStructure = false ) : Thing
thingDef ThingDef
stuffDef ThingDef
position IntVec3
rotated bool
rotation Rot4
outpostData OG_OutpostData
destroyThings bool
replaceStructure bool
리턴 Thing

TrySpawnWallAt() 공개 정적인 메소드

public static TrySpawnWallAt ( IntVec3 position, OG_OutpostData &outpostData ) : void
position IntVec3
outpostData OG_OutpostData
리턴 void

TrySpawnWeaponOnRack() 공개 정적인 메소드

public static TrySpawnWeaponOnRack ( Thing rack ) : void
rack Thing
리턴 void