|
override LocalizedString | Name [get] |
|
override bool | CanSpriteFlipX [get] |
|
override bool | CanSpriteFlipY [get] |
|
Vector2 | ScaledSize [get] |
|
override Sprite | Sprite [get] |
|
override string | OriginalName [get] |
|
override ImmutableHashSet< Identifier > | Tags [get] |
|
override ImmutableHashSet< Identifier > | AllowedLinks [get] |
|
override MapEntityCategory | Category [get] |
|
override ImmutableHashSet< string > | Aliases [get] |
|
bool | Body [get] |
|
float | BodyRotation [get] |
|
float | BodyWidth [get] |
|
float | BodyHeight [get] |
|
Vector2 | BodyOffset [get] |
|
bool | Platform [get] |
|
bool | AllowAttachItems [get] |
|
bool | AllowRotatingInEditor [get, set] |
|
float | MinHealth [get] |
|
float | Health [get] |
|
bool | IndestructibleInOutposts [get] |
|
bool | CastShadow [get] |
|
Direction | StairDirection [get] |
|
float | StairAngle [get] |
|
bool | NoAITarget [get] |
|
Vector2 | Size [get] |
|
string | DamageSound [get] |
|
string | DamageParticle [get] |
|
Vector2 | TextureScale [get] |
|
static IEnumerable< MapEntityPrefab > | List [get] |
|
static MapEntityPrefab | Selected [get, set] |
|
abstract Sprite | Sprite [get] |
|
virtual bool | CanSpriteFlipX = false [get] |
|
virtual bool | CanSpriteFlipY = false [get] |
|
abstract string | OriginalName [get] |
|
abstract LocalizedString | Name [get] |
|
abstract ImmutableHashSet< Identifier > | Tags [get] |
|
abstract ImmutableHashSet< Identifier > | AllowedLinks [get] |
| Links defined to identifiers. More...
|
|
abstract MapEntityCategory | Category [get] |
|
abstract ImmutableHashSet< string > | Aliases [get] |
|
bool | ResizeHorizontal [get, protected set] |
|
bool | ResizeVertical [get, protected set] |
|
LocalizedString | Description [get, protected set] |
|
string | AllowedUpgrades [get, protected set] |
|
bool | HideInMenus [get, protected set] |
|
bool | HideInEditors [get, protected set] |
|
string | Subcategory [get, protected set] |
|
bool | Linkable [get, protected set] |
|
Color | SpriteColor [get, protected set] |
|
float | Scale [get, protected set] |
|
UInt32 | UintIdentifier [get, set] |
|
ContentPackage? | ContentPackage [get] |
|
ContentPath | FilePath [get] |
|
Definition at line 16 of file StructurePrefab.cs.
◆ StructurePrefab()
◆ CreateInstance()
override void Barotrauma.StructurePrefab.CreateInstance |
( |
Rectangle |
rect | ) |
|
|
protectedvirtual |
◆ DetermineIdentifier()
override Identifier Barotrauma.StructurePrefab.DetermineIdentifier |
( |
XElement |
element | ) |
|
|
protectedvirtual |
◆ Dispose()
override void Barotrauma.StructurePrefab.Dispose |
( |
| ) |
|
|
virtual |
◆ BackgroundSprite
readonly Sprite Barotrauma.StructurePrefab.BackgroundSprite |
◆ ConfigElement
◆ IsHorizontal
readonly? bool Barotrauma.StructurePrefab.IsHorizontal |
If null, the orientation is determined automatically based on the dimensions of the structure instances
Definition at line 30 of file StructurePrefab.cs.
◆ Prefabs
◆ textureScale
Vector2 Barotrauma.StructurePrefab.textureScale = Vector2.One |
|
protected |
◆ Aliases
override ImmutableHashSet<string> Barotrauma.StructurePrefab.Aliases |
|
get |
◆ AllowAttachItems
bool Barotrauma.StructurePrefab.AllowAttachItems |
|
get |
◆ AllowedLinks
override ImmutableHashSet<Identifier> Barotrauma.StructurePrefab.AllowedLinks |
|
get |
◆ AllowRotatingInEditor
bool Barotrauma.StructurePrefab.AllowRotatingInEditor |
|
getset |
◆ Body
bool Barotrauma.StructurePrefab.Body |
|
get |
◆ BodyHeight
float Barotrauma.StructurePrefab.BodyHeight |
|
get |
◆ BodyOffset
Vector2 Barotrauma.StructurePrefab.BodyOffset |
|
get |
◆ BodyRotation
float Barotrauma.StructurePrefab.BodyRotation |
|
get |
◆ BodyWidth
float Barotrauma.StructurePrefab.BodyWidth |
|
get |
◆ CanSpriteFlipX
override bool Barotrauma.StructurePrefab.CanSpriteFlipX |
|
get |
◆ CanSpriteFlipY
override bool Barotrauma.StructurePrefab.CanSpriteFlipY |
|
get |
◆ CastShadow
bool Barotrauma.StructurePrefab.CastShadow |
|
get |
◆ Category
◆ DamageParticle
string Barotrauma.StructurePrefab.DamageParticle |
|
get |
◆ DamageSound
string Barotrauma.StructurePrefab.DamageSound |
|
get |
◆ Health
float Barotrauma.StructurePrefab.Health |
|
get |
◆ IndestructibleInOutposts
bool Barotrauma.StructurePrefab.IndestructibleInOutposts |
|
get |
◆ MinHealth
float Barotrauma.StructurePrefab.MinHealth |
|
get |
◆ Name
◆ NoAITarget
bool Barotrauma.StructurePrefab.NoAITarget |
|
get |
◆ OriginalName
override string Barotrauma.StructurePrefab.OriginalName |
|
get |
◆ Platform
bool Barotrauma.StructurePrefab.Platform |
|
get |
◆ ScaledSize
Vector2 Barotrauma.StructurePrefab.ScaledSize |
|
get |
◆ Size
Vector2 Barotrauma.StructurePrefab.Size |
|
get |
◆ Sprite
override Sprite Barotrauma.StructurePrefab.Sprite |
|
get |
◆ StairAngle
float Barotrauma.StructurePrefab.StairAngle |
|
get |
◆ StairDirection
Direction Barotrauma.StructurePrefab.StairDirection |
|
get |
◆ Tags
override ImmutableHashSet<Identifier> Barotrauma.StructurePrefab.Tags |
|
get |
◆ TextureScale
Vector2 Barotrauma.StructurePrefab.TextureScale |
|
get |