C# 클래스 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 :]
파일 보기 프로젝트 열기: lucas-jones/MilkShake-old

공개 프로퍼티들

프로퍼티 타입 설명
debugHooks bool

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

ClearEvents() 공개 정적인 메소드

Clears all Events from the Event Library (Events & Custom Events)
public static ClearEvents ( ) : void
리턴 void

RemoveHook() 공개 정적인 메소드

public static RemoveHook ( string _Event, LuaFunction _Function ) : void
_Event string
_Function LuaInterface.LuaFunction
리턴 void

StringResultEvent() 공개 정적인 메소드

public static StringResultEvent ( string _Event ) : string
_Event string
리턴 string

TriggerEvent() 공개 정적인 메소드

public static TriggerEvent ( Object _Object, string _Event ) : void
_Object Object
_Event string
리턴 void

TriggerEvent() 공개 정적인 메소드

public static TriggerEvent ( string _Event ) : void
_Event string
리턴 void

프로퍼티 상세

debugHooks 공개적으로 정적으로 프로퍼티

public static bool debugHooks
리턴 bool