C# Class MilkShakeFramework.Components.Scripting.MilkHooks

MilkHooks is a LUA based event system It has two Librarys* one for standard events and the other one for custom events. *Dictionarys :]
Afficher le fichier Open project: lucas-jones/MilkShake-old

Méthodes publiques

Свойство Type Description
debugHooks bool

Méthodes publiques

Méthode Description
ClearEvents ( ) : void

Clears all Events from the Event Library (Events & Custom Events)

RemoveHook ( string _Event, LuaFunction _Function ) : void
StringResultEvent ( string _Event ) : string
TriggerEvent ( Object _Object, string _Event ) : void
TriggerEvent ( string _Event ) : void

Private Methods

Méthode Description
AddCustomHook ( string _Event, LuaFunction _Function ) : void
AddHook ( string _Event, LuaFunction _Function ) : void
AddObjectHook ( string _Object, string _Event, LuaFunction _Function ) : void
TriggerCustomDataEvent ( string _Event, string _Data ) : void
TriggerCustomEvent ( string _Event ) : void

Method Details

ClearEvents() public static méthode

Clears all Events from the Event Library (Events & Custom Events)
public static ClearEvents ( ) : void
Résultat void

RemoveHook() public static méthode

public static RemoveHook ( string _Event, LuaFunction _Function ) : void
_Event string
_Function LuaInterface.LuaFunction
Résultat void

StringResultEvent() public static méthode

public static StringResultEvent ( string _Event ) : string
_Event string
Résultat string

TriggerEvent() public static méthode

public static TriggerEvent ( Object _Object, string _Event ) : void
_Object Object
_Event string
Résultat void

TriggerEvent() public static méthode

public static TriggerEvent ( string _Event ) : void
_Event string
Résultat void

Property Details

debugHooks public_oe static_oe property

public static bool debugHooks
Résultat bool