|
| LevelObject (LevelObjectPrefab prefab, Vector3 position, float scale, float rotation=0.0f) |
|
AttackResult | AddDamage (Character attacker, Vector2 worldPosition, Attack attack, Vector2 impulseDirection, float deltaTime, bool playSound=true) |
|
void | AddDamage (float damage, float deltaTime, Entity attacker, bool isNetworkEvent=false) |
|
Vector2 | LocalToWorld (Vector2 localPosition, float swingState=0.0f) |
|
void | Remove () |
|
override string | ToString () |
|
void | ServerWrite (IWriteMessage msg, Client c) |
|
◆ LevelObject()
Barotrauma.LevelObject.LevelObject |
( |
LevelObjectPrefab | prefab, |
|
|
Vector3 | position, |
|
|
float | scale, |
|
|
float | rotation = 0::0f ) |
◆ AddDamage() [1/2]
◆ AddDamage() [2/2]
void Barotrauma.LevelObject.AddDamage |
( |
float | damage, |
|
|
float | deltaTime, |
|
|
Entity | attacker, |
|
|
bool | isNetworkEvent = false ) |
◆ LocalToWorld()
Vector2 Barotrauma.LevelObject.LocalToWorld |
( |
Vector2 | localPosition, |
|
|
float | swingState = 0::0f ) |
◆ Remove()
void Barotrauma.LevelObject.Remove |
( |
| ) |
|
◆ ServerWrite()
◆ ToString()
override string Barotrauma.LevelObject.ToString |
( |
| ) |
|
◆ ActivePrefab
◆ NetworkUpdateTimer
float Barotrauma.LevelObject.NetworkUpdateTimer |
◆ ParentCave
◆ Position
Vector3 Barotrauma.LevelObject.Position |
◆ Prefab
◆ Rotation
float Barotrauma.LevelObject.Rotation |
◆ Scale
float Barotrauma.LevelObject.Scale |
◆ tookDamage
bool Barotrauma.LevelObject.tookDamage |
|
protected |
◆ Health
float Barotrauma.LevelObject.Health |
|
get |
◆ Name
string Barotrauma.LevelObject.Name |
|
get |
◆ NeedsNetworkSyncing
bool Barotrauma.LevelObject.NeedsNetworkSyncing |
|
getset |
◆ NeedsUpdate
bool Barotrauma.LevelObject.NeedsUpdate |
|
get |
◆ PhysicsBody
◆ SerializableProperties
◆ SimPosition
Vector2 Barotrauma.LevelObject.SimPosition |
|
get |
◆ Sprite
Sprite Barotrauma.LevelObject.Sprite |
|
get |
◆ Submarine
◆ Triggers
◆ WorldPosition
Vector2 Barotrauma.LevelObject.WorldPosition |
|
get |
The documentation for this class was generated from the following file:
- /home/runner/work/Luatrauma.Docs/Luatrauma.Docs/libs/LuaCsForBarotrauma/Barotrauma/BarotraumaShared/SharedSource/Map/Levels/LevelObjects/LevelObject.cs