diff --git a/luacs-docs/cs/manual/assemblymod.dox b/luacs-docs/cs/manual/assemblymod.dox index 90980a4fd..71d8d7fb7 100644 --- a/luacs-docs/cs/manual/assemblymod.dox +++ b/luacs-docs/cs/manual/assemblymod.dox @@ -29,9 +29,11 @@ After downloading the zip file, extract the contents to the `Refs` folder in pro ./Refs ----/Linux/Barotrauma.dll ----/Linux/DedicatedServer.dll +----/Linux/BarotraumaCore.dll ----/Windows/Barotrauma.dll ----/Windows/DedicatedServer.dll -... +----/Windows/BarotraumaCore.dll +...other files ``` ### 4. Setup the project diff --git a/luacs-docs/cs/manual/inmemorymod.dox b/luacs-docs/cs/manual/inmemorymod.dox index e44a79b6a..3171f84d2 100644 --- a/luacs-docs/cs/manual/inmemorymod.dox +++ b/luacs-docs/cs/manual/inmemorymod.dox @@ -17,7 +17,7 @@ Source files inside the CSharp/Server and CSharp/Client folders will only be com ____ `/CSharp/Shared/ExampleMod.cs` -```csharp +```cs using System; using Barotrauma; diff --git a/luacs-docs/lua/baseluadocs/CreditsPlayer.lua b/luacs-docs/lua/baseluadocs/CreditsPlayer.lua new file mode 100644 index 000000000..1ad8cc700 --- /dev/null +++ b/luacs-docs/lua/baseluadocs/CreditsPlayer.lua @@ -0,0 +1,8 @@ +-- luacheck: ignore 111 + +--[[-- +Barotrauma.CreditsPlayer +]] +-- @code GUI.CreditsPlayer +-- @pragma nostrip +local CreditsPlayer = {} \ No newline at end of file diff --git a/luacs-docs/lua/baseluadocs/GUI.lua b/luacs-docs/lua/baseluadocs/GUI.lua new file mode 100644 index 000000000..bd704da14 --- /dev/null +++ b/luacs-docs/lua/baseluadocs/GUI.lua @@ -0,0 +1,8 @@ +-- luacheck: ignore 111 + +--[[-- +Barotrauma.GUI +]] +-- @code GUI +-- @pragma nostrip +local GUI = {} \ No newline at end of file diff --git a/luacs-docs/lua/baseluadocs/GUIButton.lua b/luacs-docs/lua/baseluadocs/GUIButton.lua new file mode 100644 index 000000000..4c5a6e7b2 --- /dev/null +++ b/luacs-docs/lua/baseluadocs/GUIButton.lua @@ -0,0 +1,8 @@ +-- luacheck: ignore 111 + +--[[-- +Barotrauma.GUIButton +]] +-- @code GUI.Button +-- @pragma nostrip +local GUIButton = {} \ No newline at end of file diff --git a/luacs-docs/lua/baseluadocs/GUICanvas.lua b/luacs-docs/lua/baseluadocs/GUICanvas.lua new file mode 100644 index 000000000..0294e2fd1 --- /dev/null +++ b/luacs-docs/lua/baseluadocs/GUICanvas.lua @@ -0,0 +1,8 @@ +-- luacheck: ignore 111 + +--[[-- +Barotrauma.GUICanvas +]] +-- @code GUI.Canvas +-- @pragma nostrip +local GUICanvas = {} \ No newline at end of file diff --git a/luacs-docs/lua/baseluadocs/GUIColorPicker.lua b/luacs-docs/lua/baseluadocs/GUIColorPicker.lua new file mode 100644 index 000000000..ac3cb05e9 --- /dev/null +++ b/luacs-docs/lua/baseluadocs/GUIColorPicker.lua @@ -0,0 +1,8 @@ +-- luacheck: ignore 111 + +--[[-- +Barotrauma.GUIColorPicker +]] +-- @code GUI.ColorPicker +-- @pragma nostrip +local GUIColorPicker = {} \ No newline at end of file diff --git a/luacs-docs/lua/baseluadocs/GUIComponent.lua b/luacs-docs/lua/baseluadocs/GUIComponent.lua new file mode 100644 index 000000000..df88c2c8b --- /dev/null +++ b/luacs-docs/lua/baseluadocs/GUIComponent.lua @@ -0,0 +1,8 @@ +-- luacheck: ignore 111 + +--[[-- +Barotrauma.GUIComponent +]] +-- @code GUI.Component +-- @pragma nostrip +local GUIComponent = {} \ No newline at end of file diff --git a/luacs-docs/lua/baseluadocs/GUICustomComponent.lua b/luacs-docs/lua/baseluadocs/GUICustomComponent.lua new file mode 100644 index 000000000..be5aeebed --- /dev/null +++ b/luacs-docs/lua/baseluadocs/GUICustomComponent.lua @@ -0,0 +1,8 @@ +-- luacheck: ignore 111 + +--[[-- +Barotrauma.GUICustomComponent +]] +-- @code GUI.CustomComponent +-- @pragma nostrip +local GUICustomComponent = {} \ No newline at end of file diff --git a/luacs-docs/lua/baseluadocs/GUIDragHandle.lua b/luacs-docs/lua/baseluadocs/GUIDragHandle.lua new file mode 100644 index 000000000..3fb45c9ae --- /dev/null +++ b/luacs-docs/lua/baseluadocs/GUIDragHandle.lua @@ -0,0 +1,8 @@ +-- luacheck: ignore 111 + +--[[-- +Barotrauma.GUIDragHandle +]] +-- @code GUI.DragHandle +-- @pragma nostrip +local GUIDragHandle = {} \ No newline at end of file diff --git a/luacs-docs/lua/baseluadocs/GUIDropDown.lua b/luacs-docs/lua/baseluadocs/GUIDropDown.lua new file mode 100644 index 000000000..0199186a7 --- /dev/null +++ b/luacs-docs/lua/baseluadocs/GUIDropDown.lua @@ -0,0 +1,8 @@ +-- luacheck: ignore 111 + +--[[-- +Barotrauma.GUIDropDown +]] +-- @code GUI.DropDown +-- @pragma nostrip +local GUIDropDown = {} \ No newline at end of file diff --git a/luacs-docs/lua/baseluadocs/GUIFrame.lua b/luacs-docs/lua/baseluadocs/GUIFrame.lua new file mode 100644 index 000000000..e3a45e45b --- /dev/null +++ b/luacs-docs/lua/baseluadocs/GUIFrame.lua @@ -0,0 +1,8 @@ +-- luacheck: ignore 111 + +--[[-- +Barotrauma.GUIFrame +]] +-- @code GUI.Frame +-- @pragma nostrip +local GUIFrame = {} \ No newline at end of file diff --git a/luacs-docs/lua/baseluadocs/GUIImage.lua b/luacs-docs/lua/baseluadocs/GUIImage.lua new file mode 100644 index 000000000..331b517c6 --- /dev/null +++ b/luacs-docs/lua/baseluadocs/GUIImage.lua @@ -0,0 +1,8 @@ +-- luacheck: ignore 111 + +--[[-- +Barotrauma.GUIImage +]] +-- @code GUI.Image +-- @pragma nostrip +local GUIImage = {} \ No newline at end of file diff --git a/luacs-docs/lua/baseluadocs/GUILayoutGroup.lua b/luacs-docs/lua/baseluadocs/GUILayoutGroup.lua new file mode 100644 index 000000000..b1f22c2d9 --- /dev/null +++ b/luacs-docs/lua/baseluadocs/GUILayoutGroup.lua @@ -0,0 +1,8 @@ +-- luacheck: ignore 111 + +--[[-- +Barotrauma.GUILayoutGroup +]] +-- @code GUI.LayoutGroup +-- @pragma nostrip +local GUILayoutGroup = {} \ No newline at end of file diff --git a/luacs-docs/lua/baseluadocs/GUIListBox.lua b/luacs-docs/lua/baseluadocs/GUIListBox.lua new file mode 100644 index 000000000..5cbe8b3b4 --- /dev/null +++ b/luacs-docs/lua/baseluadocs/GUIListBox.lua @@ -0,0 +1,8 @@ +-- luacheck: ignore 111 + +--[[-- +Barotrauma.GUIListBox +]] +-- @code GUI.ListBox +-- @pragma nostrip +local GUIListBox = {} \ No newline at end of file diff --git a/luacs-docs/lua/baseluadocs/GUIMessageBox.lua b/luacs-docs/lua/baseluadocs/GUIMessageBox.lua new file mode 100644 index 000000000..f32ba1ece --- /dev/null +++ b/luacs-docs/lua/baseluadocs/GUIMessageBox.lua @@ -0,0 +1,8 @@ +-- luacheck: ignore 111 + +--[[-- +Barotrauma.GUIMessageBox +]] +-- @code GUI.MessageBox +-- @pragma nostrip +local GUIMessageBox = {} \ No newline at end of file diff --git a/luacs-docs/lua/baseluadocs/GUINumberInput.lua b/luacs-docs/lua/baseluadocs/GUINumberInput.lua new file mode 100644 index 000000000..a6b718f85 --- /dev/null +++ b/luacs-docs/lua/baseluadocs/GUINumberInput.lua @@ -0,0 +1,8 @@ +-- luacheck: ignore 111 + +--[[-- +Barotrauma.GUINumberInput +]] +-- @code GUI.NumberInput +-- @pragma nostrip +local GUINumberInput = {} \ No newline at end of file diff --git a/luacs-docs/lua/baseluadocs/GUIProgressBar.lua b/luacs-docs/lua/baseluadocs/GUIProgressBar.lua new file mode 100644 index 000000000..b4fd5858a --- /dev/null +++ b/luacs-docs/lua/baseluadocs/GUIProgressBar.lua @@ -0,0 +1,8 @@ +-- luacheck: ignore 111 + +--[[-- +Barotrauma.GUIProgressBar +]] +-- @code GUI.ProgressBar +-- @pragma nostrip +local GUIProgressBar = {} \ No newline at end of file diff --git a/luacs-docs/lua/baseluadocs/GUIScissorComponent.lua b/luacs-docs/lua/baseluadocs/GUIScissorComponent.lua new file mode 100644 index 000000000..ebb48c3ce --- /dev/null +++ b/luacs-docs/lua/baseluadocs/GUIScissorComponent.lua @@ -0,0 +1,8 @@ +-- luacheck: ignore 111 + +--[[-- +Barotrauma.GUIScissorComponent +]] +-- @code GUI.ScissorComponent +-- @pragma nostrip +local GUIScissorComponent = {} \ No newline at end of file diff --git a/luacs-docs/lua/baseluadocs/GUIScrollBar.lua b/luacs-docs/lua/baseluadocs/GUIScrollBar.lua new file mode 100644 index 000000000..d09e538bb --- /dev/null +++ b/luacs-docs/lua/baseluadocs/GUIScrollBar.lua @@ -0,0 +1,8 @@ +-- luacheck: ignore 111 + +--[[-- +Barotrauma.GUIScrollBar +]] +-- @code GUI.ScrollBar +-- @pragma nostrip +local GUIScrollBar = {} \ No newline at end of file diff --git a/luacs-docs/lua/baseluadocs/GUIStyle.lua b/luacs-docs/lua/baseluadocs/GUIStyle.lua new file mode 100644 index 000000000..52ed7e371 --- /dev/null +++ b/luacs-docs/lua/baseluadocs/GUIStyle.lua @@ -0,0 +1,8 @@ +-- luacheck: ignore 111 + +--[[-- +Barotrauma.GUIStyle +]] +-- @code GUI.Style +-- @pragma nostrip +local GUIStyle = {} \ No newline at end of file diff --git a/luacs-docs/lua/baseluadocs/GUITextBlock.lua b/luacs-docs/lua/baseluadocs/GUITextBlock.lua new file mode 100644 index 000000000..63b033cb7 --- /dev/null +++ b/luacs-docs/lua/baseluadocs/GUITextBlock.lua @@ -0,0 +1,8 @@ +-- luacheck: ignore 111 + +--[[-- +Barotrauma.GUITextBlock +]] +-- @code GUI.TextBlock +-- @pragma nostrip +local GUITextBlock = {} \ No newline at end of file diff --git a/luacs-docs/lua/baseluadocs/GUITextBox.lua b/luacs-docs/lua/baseluadocs/GUITextBox.lua new file mode 100644 index 000000000..2a31a1032 --- /dev/null +++ b/luacs-docs/lua/baseluadocs/GUITextBox.lua @@ -0,0 +1,8 @@ +-- luacheck: ignore 111 + +--[[-- +Barotrauma.GUITextBox +]] +-- @code GUI.TextBox +-- @pragma nostrip +local GUITextBox = {} \ No newline at end of file diff --git a/luacs-docs/lua/baseluadocs/GUITickBox.lua b/luacs-docs/lua/baseluadocs/GUITickBox.lua new file mode 100644 index 000000000..30ebc8520 --- /dev/null +++ b/luacs-docs/lua/baseluadocs/GUITickBox.lua @@ -0,0 +1,8 @@ +-- luacheck: ignore 111 + +--[[-- +Barotrauma.GUITickBox +]] +-- @code GUI.TickBox +-- @pragma nostrip +local GUITickBox = {} \ No newline at end of file diff --git a/luacs-docs/lua/baseluadocs/Graph.lua b/luacs-docs/lua/baseluadocs/Graph.lua new file mode 100644 index 000000000..a7256a547 --- /dev/null +++ b/luacs-docs/lua/baseluadocs/Graph.lua @@ -0,0 +1,8 @@ +-- luacheck: ignore 111 + +--[[-- +Barotrauma.Graph +]] +-- @code GUI.Graph +-- @pragma nostrip +local Graph = {} \ No newline at end of file diff --git a/luacs-docs/lua/baseluadocs/RectTransform.lua b/luacs-docs/lua/baseluadocs/RectTransform.lua new file mode 100644 index 000000000..1ff1af6e9 --- /dev/null +++ b/luacs-docs/lua/baseluadocs/RectTransform.lua @@ -0,0 +1,8 @@ +-- luacheck: ignore 111 + +--[[-- +Barotrauma.RectTransform +]] +-- @code GUI.RectTransform +-- @pragma nostrip +local RectTransform = {} \ No newline at end of file diff --git a/luacs-docs/lua/baseluadocs/Screen.lua b/luacs-docs/lua/baseluadocs/Screen.lua new file mode 100644 index 000000000..26e3312af --- /dev/null +++ b/luacs-docs/lua/baseluadocs/Screen.lua @@ -0,0 +1,8 @@ +-- luacheck: ignore 111 + +--[[-- +Barotrauma.Screen +]] +-- @code GUI.Screen +-- @pragma nostrip +local Screen = {} \ No newline at end of file diff --git a/luacs-docs/lua/baseluadocs/SerializableEntityEditor.lua b/luacs-docs/lua/baseluadocs/SerializableEntityEditor.lua new file mode 100644 index 000000000..77a9f0b75 --- /dev/null +++ b/luacs-docs/lua/baseluadocs/SerializableEntityEditor.lua @@ -0,0 +1,8 @@ +-- luacheck: ignore 111 + +--[[-- +Barotrauma.SerializableEntityEditor +]] +-- @code GUI.SerializableEntityEditor +-- @pragma nostrip +local SerializableEntityEditor = {} \ No newline at end of file diff --git a/luacs-docs/lua/baseluadocs/SlideshowPlayer.lua b/luacs-docs/lua/baseluadocs/SlideshowPlayer.lua new file mode 100644 index 000000000..36b0e5ac4 --- /dev/null +++ b/luacs-docs/lua/baseluadocs/SlideshowPlayer.lua @@ -0,0 +1,8 @@ +-- luacheck: ignore 111 + +--[[-- +Barotrauma.SlideshowPlayer +]] +-- @code GUI.SlideshowPlayer +-- @pragma nostrip +local SlideshowPlayer = {} \ No newline at end of file diff --git a/luacs-docs/lua/baseluadocs/VideoPlayer.lua b/luacs-docs/lua/baseluadocs/VideoPlayer.lua new file mode 100644 index 000000000..f085a2f28 --- /dev/null +++ b/luacs-docs/lua/baseluadocs/VideoPlayer.lua @@ -0,0 +1,8 @@ +-- luacheck: ignore 111 + +--[[-- +Barotrauma.VideoPlayer +]] +-- @code GUI.VideoPlayer +-- @pragma nostrip +local VideoPlayer = {} \ No newline at end of file diff --git a/luacs-docs/lua/lua/Hooks.lua b/luacs-docs/lua/lua/Hooks.lua index cabe2ecfe..463076c83 100644 --- a/luacs-docs/lua/lua/Hooks.lua +++ b/luacs-docs/lua/lua/Hooks.lua @@ -181,9 +181,9 @@ function character.death(character) end -- @realm shared function character.applyAffliction(character, limbHealth, newAffliction, allowStacking) end ---- Gets gets called every time an attack damage. +--- Gets gets called every time a character gets damaged by an attack. -- @realm shared -function character.applyDamage(character, attackResult, hitLimb, allowStacking) end +function character.applyDamage(characterHealth, attackResult, hitLimb, allowStacking) end --- Gets called every time an affliction updates. diff --git a/luacs-docs/lua/scripts/LuaDocsGenerator/DocsGenerator.cs b/luacs-docs/lua/scripts/LuaDocsGenerator/DocsGenerator.cs index 39d37f842..5b28d96e1 100644 --- a/luacs-docs/lua/scripts/LuaDocsGenerator/DocsGenerator.cs +++ b/luacs-docs/lua/scripts/LuaDocsGenerator/DocsGenerator.cs @@ -528,14 +528,16 @@ local {type.Name} = {{}}".ReplaceLineEndings("\n"); File.WriteAllText(outFile, sb.ToString()); } - public static void GenerateEnum(Type enumType, string outFile, string realm = "shared") + public static void GenerateEnum(Type enumType, string outFile, string categoryName = null, string realm = "shared") { StringBuilder sb = new StringBuilder(); + categoryName = categoryName ?? enumType.Name; + sb.AppendLine($@"--[[-- {enumType.Name} enum. ]] --- @enum {enumType.Name}"); +-- @enum {categoryName}"); sb.AppendLine(); @@ -546,9 +548,9 @@ local {type.Name} = {{}}".ReplaceLineEndings("\n"); if (fields[i].Name.Equals("value__")) { continue; } sb.AppendLine("---"); - sb.AppendLine($"-- {enumType.Name}.{fields[i].Name} = {fields[i].GetRawConstantValue()}"); + sb.AppendLine($"-- {categoryName}.{fields[i].Name} = {fields[i].GetRawConstantValue()}"); sb.AppendLine($"-- @realm {realm}"); - sb.AppendLine($"-- @number {enumType.Name}.{fields[i].Name}"); + sb.AppendLine($"-- @number {categoryName}.{fields[i].Name}"); sb.AppendLine(); } diff --git a/luacs-docs/lua/scripts/LuaDocsGenerator/Program.cs b/luacs-docs/lua/scripts/LuaDocsGenerator/Program.cs index d375e7999..75ca2b2da 100644 --- a/luacs-docs/lua/scripts/LuaDocsGenerator/Program.cs +++ b/luacs-docs/lua/scripts/LuaDocsGenerator/Program.cs @@ -10,6 +10,10 @@ namespace LuaDocsGenerator private static string generatedDir = ""; private static string baseLuaDir = ""; + private static void GenerateDocs(Type type, string file, string? categoryName = null, string realm = "shared") + { + DocsGenerator.GenerateDocs(type, $"{baseLuaDir}/{file}", $"{generatedDir}/{file}", categoryName, realm); + } private static void GenerateDocs(string file, string? categoryName = null, string realm = "shared") { DocsGenerator.GenerateDocs(typeof(T), $"{baseLuaDir}/{file}", $"{generatedDir}/{file}", categoryName, realm); @@ -24,11 +28,14 @@ namespace LuaDocsGenerator { DocsGenerator.GenerateDocs(clientType, serverType, $"{baseLuaDir}/{file}", $"{generatedDir}/{file}", categoryName); } - private static void GenerateEnum(string file, string realm = "shared") + private static void GenerateEnum(string file, string categoryName = null, string realm = "shared") { - DocsGenerator.GenerateEnum(typeof(T), $"{generatedDir}/{file}", realm); + DocsGenerator.GenerateEnum(typeof(T), $"{generatedDir}/{file}", categoryName, realm); + } + private static void GenerateEnum(Type type, string file, string categoryName = null, string realm = "shared") + { + DocsGenerator.GenerateEnum(type, $"{generatedDir}/{file}", categoryName, realm); } - static void Main(string[] args) { @@ -91,6 +98,41 @@ namespace LuaDocsGenerator GenerateDocs("IReadMessage.lua"); GenerateDocs("IWriteMessage.lua"); + GenerateDocs(typeof(BarotraumaClient::Barotrauma.GUI), "GUI.lua", "GUI", "client"); + GenerateDocs(typeof(BarotraumaClient::Barotrauma.GUIStyle), "GUIStyle.lua", "GUI.Style", "client"); + GenerateDocs(typeof(BarotraumaClient::Barotrauma.GUIComponent), "GUIComponent.lua", "GUI.Component", "client"); + GenerateDocs(typeof(BarotraumaClient::Barotrauma.RectTransform), "RectTransform.lua", "GUI.RectTransform", "client"); + GenerateDocs(typeof(BarotraumaClient::Barotrauma.GUILayoutGroup), "GUILayoutGroup.lua", "GUI.LayoutGroup", "client"); + GenerateDocs(typeof(BarotraumaClient::Barotrauma.GUIButton),"GUIButton.lua", "GUI.Button", "client"); + GenerateDocs(typeof(BarotraumaClient::Barotrauma.GUITextBox),"GUITextBox.lua", "GUI.TextBox", "client"); + GenerateDocs(typeof(BarotraumaClient::Barotrauma.GUICanvas),"GUICanvas.lua", "GUI.Canvas", "client"); + GenerateDocs(typeof(BarotraumaClient::Barotrauma.GUIFrame),"GUIFrame.lua", "GUI.Frame", "client"); + GenerateDocs(typeof(BarotraumaClient::Barotrauma.GUITextBlock),"GUITextBlock.lua", "GUI.TextBlock", "client"); + GenerateDocs(typeof(BarotraumaClient::Barotrauma.GUITickBox),"GUITickBox.lua", "GUI.TickBox", "client"); + GenerateDocs(typeof(BarotraumaClient::Barotrauma.GUIImage),"GUIImage.lua", "GUI.Image", "client"); + GenerateDocs(typeof(BarotraumaClient::Barotrauma.GUIListBox),"GUIListBox.lua", "GUI.ListBox", "client"); + GenerateDocs(typeof(BarotraumaClient::Barotrauma.GUIScrollBar),"GUIScrollBar.lua", "GUI.ScrollBar", "client"); + GenerateDocs(typeof(BarotraumaClient::Barotrauma.GUIDropDown),"GUIDropDown.lua", "GUI.DropDown", "client"); + GenerateDocs(typeof(BarotraumaClient::Barotrauma.GUINumberInput),"GUINumberInput.lua", "GUI.NumberInput", "client"); + GenerateDocs(typeof(BarotraumaClient::Barotrauma.GUIMessageBox),"GUIMessageBox.lua", "GUI.MessageBox", "client"); + GenerateDocs(typeof(BarotraumaClient::Barotrauma.GUIColorPicker),"GUIColorPicker.lua", "GUI.ColorPicker", "client"); + GenerateDocs(typeof(BarotraumaClient::Barotrauma.GUIProgressBar),"GUIProgressBar.lua", "GUI.ProgressBar", "client"); + GenerateDocs(typeof(BarotraumaClient::Barotrauma.GUICustomComponent),"GUICustomComponent.lua", "GUI.CustomComponent", "client"); + GenerateDocs(typeof(BarotraumaClient::Barotrauma.GUIScissorComponent),"GUIScissorComponent.lua", "GUI.ScissorComponent", "client"); + GenerateDocs(typeof(BarotraumaClient::Barotrauma.VideoPlayer),"VideoPlayer.lua", "GUI.VideoPlayer", "client"); + GenerateDocs(typeof(BarotraumaClient::Barotrauma.Graph),"Graph.lua", "GUI.Graph", "client"); + GenerateDocs(typeof(BarotraumaClient::Barotrauma.SerializableEntityEditor),"SerializableEntityEditor.lua", "GUI.SerializableEntityEditor", "client"); + GenerateDocs(typeof(BarotraumaClient::Barotrauma.SlideshowPlayer),"SlideshowPlayer.lua", "GUI.SlideshowPlayer", "client"); + GenerateDocs(typeof(BarotraumaClient::Barotrauma.CreditsPlayer),"CreditsPlayer.lua", "GUI.CreditsPlayer", "client"); + GenerateDocs(typeof(BarotraumaClient::Barotrauma.GUIDragHandle),"GUIDragHandle.lua", "GUI.DragHandle", "client"); + GenerateDocs(typeof(BarotraumaClient::Barotrauma.Screen),"Screen.lua", "GUI.Screen", "client"); + + GenerateEnum("Anchor.lua", "GUI.Anchor", "client"); + GenerateEnum("Pivot.lua", "GUI.Pivot", "client"); + GenerateEnum("GUISoundType.lua", "GUI.SoundType", "client"); + GenerateEnum("CursorState.lua", "GUI.CursorState", "client"); + GenerateEnum("Alignment.lua", "GUI.Alignment", "client"); + GenerateEnum("CauseOfDeathType.lua"); GenerateEnum("CharacterTeamType.lua"); GenerateEnum("ClientPermissions.lua");