|
static void | Explode (Vector2 pos, float range=100, float force=30, float damage=30, float structureDamage=30, float itemDamage=30, float empStrength=0, float ballastFloraStrength=0) |
|
static string | SpawnItem (string name, Vector2 pos, bool inventory=false, Character character=null) |
|
static ContentPackage[] | GetEnabledContentPackages () |
|
static ItemPrefab | GetItemPrefab (string itemNameOrId) |
|
static Submarine | GetRespawnSub () |
|
static Items.Components.Steering | GetSubmarineSteering (Submarine sub) |
|
static WifiComponent | GetWifiComponent (Item item) |
|
static LightComponent | GetLightComponent (Item item) |
|
static CustomInterface | GetCustomInterface (Item item) |
|
static Fabricator | GetFabricatorComponent (Item item) |
|
static Holdable | GetHoldableComponent (Item item) |
|
static void | ExecuteCommand (string command) |
|
static Signal | CreateSignal (string value, int stepsTaken=1, Character sender=null, Item source=null, float power=0, float strength=1) |
|
◆ LuaGame()
Barotrauma.LuaGame.LuaGame |
( |
| ) |
|
◆ AddCommand()
void Barotrauma.LuaGame.AddCommand |
( |
string | name, |
|
|
string | help, |
|
|
LuaCsAction | onExecute, |
|
|
LuaCsFunc | getValidArgs = null, |
|
|
bool | isCheat = false ) |
◆ AddPriorityCharacter()
void Barotrauma.LuaGame.AddPriorityCharacter |
( |
Character | character | ) |
|
◆ AddPriorityItem()
void Barotrauma.LuaGame.AddPriorityItem |
( |
Item | item | ) |
|
◆ AllowWifiChat()
void Barotrauma.LuaGame.AllowWifiChat |
( |
bool | o | ) |
|
◆ AssignOnExecute()
void Barotrauma.LuaGame.AssignOnExecute |
( |
string | names, |
|
|
object | onExecute ) |
◆ ClearPriorityCharacter()
void Barotrauma.LuaGame.ClearPriorityCharacter |
( |
| ) |
|
◆ ClearPriorityItem()
void Barotrauma.LuaGame.ClearPriorityItem |
( |
| ) |
|
◆ CreateSignal()
static Signal Barotrauma.LuaGame.CreateSignal |
( |
string | value, |
|
|
int | stepsTaken = 1, |
|
|
Character | sender = null, |
|
|
Item | source = null, |
|
|
float | power = 0, |
|
|
float | strength = 1 ) |
|
static |
◆ DisableDisconnectCharacter()
void Barotrauma.LuaGame.DisableDisconnectCharacter |
( |
bool | o | ) |
|
◆ DisableSpamFilter()
void Barotrauma.LuaGame.DisableSpamFilter |
( |
bool | o | ) |
|
◆ EnableControlHusk()
void Barotrauma.LuaGame.EnableControlHusk |
( |
bool | o | ) |
|
◆ ExecuteCommand()
static void Barotrauma.LuaGame.ExecuteCommand |
( |
string | command | ) |
|
|
static |
◆ Explode()
static void Barotrauma.LuaGame.Explode |
( |
Vector2 | pos, |
|
|
float | range = 100, |
|
|
float | force = 30, |
|
|
float | damage = 30, |
|
|
float | structureDamage = 30, |
|
|
float | itemDamage = 30, |
|
|
float | empStrength = 0, |
|
|
float | ballastFloraStrength = 0 ) |
|
static |
◆ GetCustomInterface()
◆ GetEnabledContentPackages()
static ContentPackage[] Barotrauma.LuaGame.GetEnabledContentPackages |
( |
| ) |
|
|
static |
◆ GetFabricatorComponent()
static Fabricator Barotrauma.LuaGame.GetFabricatorComponent |
( |
Item | item | ) |
|
|
static |
◆ GetHoldableComponent()
static Holdable Barotrauma.LuaGame.GetHoldableComponent |
( |
Item | item | ) |
|
|
static |
◆ GetItemPrefab()
static ItemPrefab Barotrauma.LuaGame.GetItemPrefab |
( |
string | itemNameOrId | ) |
|
|
static |
◆ GetLightComponent()
◆ GetRespawnSub()
static Submarine Barotrauma.LuaGame.GetRespawnSub |
( |
| ) |
|
|
static |
◆ GetSubmarineSteering()
◆ GetWifiComponent()
◆ IsCustomCommandPermitted()
bool Barotrauma.LuaGame.IsCustomCommandPermitted |
( |
Identifier | command | ) |
|
◆ LoadGame()
void Barotrauma.LuaGame.LoadGame |
( |
string | path | ) |
|
◆ OverrideRespawnSub()
void Barotrauma.LuaGame.OverrideRespawnSub |
( |
bool | o | ) |
|
◆ OverrideSignalRadio()
void Barotrauma.LuaGame.OverrideSignalRadio |
( |
bool | o | ) |
|
◆ OverrideTraitors()
void Barotrauma.LuaGame.OverrideTraitors |
( |
bool | o | ) |
|
◆ RemoveCommand()
void Barotrauma.LuaGame.RemoveCommand |
( |
string | name | ) |
|
◆ RemovePriorityCharacter()
void Barotrauma.LuaGame.RemovePriorityCharacter |
( |
Character | character | ) |
|
◆ RemovePriorityItem()
void Barotrauma.LuaGame.RemovePriorityItem |
( |
Item | item | ) |
|
◆ SaveGame()
void Barotrauma.LuaGame.SaveGame |
( |
string | path | ) |
|
◆ SpawnItem()
static string Barotrauma.LuaGame.SpawnItem |
( |
string | name, |
|
|
Vector2 | pos, |
|
|
bool | inventory = false, |
|
|
Character | character = null ) |
|
static |
◆ Stop()
void Barotrauma.LuaGame.Stop |
( |
| ) |
|
◆ allowWifiChat
bool Barotrauma.LuaGame.allowWifiChat = false |
◆ disableDisconnectCharacter
bool Barotrauma.LuaGame.disableDisconnectCharacter = false |
◆ disableSpamFilter
bool Barotrauma.LuaGame.disableSpamFilter = false |
◆ enableControlHusk
bool Barotrauma.LuaGame.enableControlHusk = false |
◆ ForceLocalVoice
bool? Barotrauma.LuaGame.ForceLocalVoice = null |
◆ ForceVoice
bool? Barotrauma.LuaGame.ForceVoice = null |
◆ overrideRespawnSub
bool Barotrauma.LuaGame.overrideRespawnSub = false |
◆ overrideSignalRadio
bool Barotrauma.LuaGame.overrideSignalRadio = false |
◆ overrideTraitors
bool Barotrauma.LuaGame.overrideTraitors = false |
◆ Settings
DynValue Barotrauma.LuaGame.Settings |
◆ UpdatePriorityCharacters
◆ UpdatePriorityItems
HashSet<Item> Barotrauma.LuaGame.UpdatePriorityItems = new HashSet<Item>() |
◆ CharacterUpdateInterval
int Barotrauma.LuaGame.CharacterUpdateInterval |
|
getset |
◆ Commands
◆ GameScreen
◆ GameSession
◆ GapUpdateInterval
int Barotrauma.LuaGame.GapUpdateInterval |
|
getset |
◆ IsDedicated
bool Barotrauma.LuaGame.IsDedicated |
|
get |
◆ IsMultiplayer
bool Barotrauma.LuaGame.IsMultiplayer |
|
get |
◆ IsSingleplayer
bool Barotrauma.LuaGame.IsSingleplayer |
|
get |
◆ LuaAddedCommand
◆ MapEntityUpdateInterval
int Barotrauma.LuaGame.MapEntityUpdateInterval |
|
getset |
◆ NetLobbyScreen
◆ Paused
bool Barotrauma.LuaGame.Paused |
|
get |
◆ Peer
ClientPeer Barotrauma.LuaGame.Peer |
|
get |
◆ PoweredUpdateInterval
int Barotrauma.LuaGame.PoweredUpdateInterval |
|
getset |
◆ RespawnManager
◆ RoundStarted
bool Barotrauma.LuaGame.RoundStarted |
|
get |
◆ SaveFolder
string Barotrauma.LuaGame.SaveFolder |
|
get |
◆ Server
◆ ServerSettings
◆ World
World Barotrauma.LuaGame.World |
|
get |
The documentation for this class was generated from the following file:
- /home/runner/work/Luatrauma.Docs/Luatrauma.Docs/libs/LuaCsForBarotrauma/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Lua/LuaClasses/LuaGame.cs