C# Class Schumix.Components.LuaEngine.LuaFunctions

Class containing most of the exported Lua functions. It as also a wrapper to the Main API.
Inheritance: Schumix.Irc.Commands.CommandInfo
ファイルを表示 Open project: Schumix/Schumix2 Class Usage Examples

Public Methods

Method Description
Clean ( ) : void
LuaFunctions ( NLua.Lua &vm ) : System

Creates a new instance of LuaFunctions

Private Methods

Method Description
BaseAdminflag ( string ServerName, string Name ) : AdminFlag
BaseAdminflag ( string ServerName, string Name, string Vhost ) : AdminFlag
BaseIsAdmin ( string ServerName, string Name ) : bool
BaseIsAdmin ( string ServerName, string Name, int Flag ) : bool
BaseIsAdmin ( string ServerName, string Name, string Vhost, int Flag ) : bool
BaseIsChannel ( string ServerName, string Name ) : bool
GetCommandPermission ( string permission ) : CommandPermission
RegisterIrcHook ( string HandlerName, string LuaName ) : void
RegisterSchumixHook ( string CommandName, string LuaName, CommandPermission permission = CommandPermission.Normal ) : void
SendMessage ( string ServerName, string channel, string message ) : void
WriteLine ( string ServerName, string message ) : void

Method Details

Clean() public method

public Clean ( ) : void
return void

LuaFunctions() public method

Creates a new instance of LuaFunctions
public LuaFunctions ( NLua.Lua &vm ) : System
vm NLua.Lua Lua VM
return System