C# (CSharp) GarrysModLuaShared Пространство имен

Пространства имен

GarrysModLuaShared.Classes
GarrysModLuaShared.Properties
GarrysModLuaShared.Source
GarrysModLuaShared.Structs

Классы

Имя Описание
@string The string type is a sequence of characters. The string library is a standard Lua library which provides functions for the manipulation of strings. In Garry's Mod there are several extra useful functions added to this library.
DllMain
Extensions
ExternDll
Global Class that contains global functions.
Lua
LuaConfig
LuaObject
LuaTable
Random
bit The bitwise library contains useful functions for bitwise operations.
cookie Used to store permanent variables/settings on clients that will persist between servers. They are stored in the cl.db SQLite database located in the root Garry's Mod folder.
engine The engine library provides functions to access various features in the game's engine, most are related to the demo and save systems.
game The game library provides functions to access various features in the game's engine, most of it's functions are related to controlling the map.
gameevent Used to interface with the built in game events system.
gui The gui library is similar to the input library but features functions that are more focused on the mouse's interaction with GUI panels.
input The input library allows you to gather information about the clients input devices (mouse & keyboard), such as the cursor position and whether a key is pressed or not.
language The language library is used for translation.
luaL_Buffer
luaL_Reg
lua_Debug
math The math library is a standard Lua library that provides functions for manipulating numbers. In Garry's Mod several additional math functions have been added.
menu The menu library.
net The net library is one of a number of ways to send data between the client and server. The major advantages of the net library are the large size limit(64kb/message) and the ability to send data backwards - from the client to the server.
notification Used to display notifications on the screen (mid-right).
os The os library is a standard Lua library originally intended to allow Lua access to various features of the Operating System it's running on, however many of the features and functions have been removed in Garry's Mod due to security issues. It's only used in Garry's Mod for date & time operations.
physenv The physenv library allows you to control the physics environment created by the engine, and lets you modify constants such as gravity and maximum velocity.
resource The resource library is used to control what files are sent to clients who join a server, this includes models, materials, sounds, text files but not Lua files.
surface The surface library allows you to draw text and shapes on the screen. Primarily used for making HUDs & custom GUI panels.
system The system library provides functions that allow you to gather information about the system running the game, such as operating system, uptime and battery level.
team The team library gives you access to the team system built into the Source engine, and allows you to create custom teams and get information about them.
timer The timer library is a very useful set of functions which allow you to run a function periodically or after a given delay.
util The utility library.