This class maintains a list of watch items. More...
Public Member Functions | |
void | AddObserver (string luaExpression, LuaChangedDelegate luaChangedHandler) |
Adds a watch item to the list. More... | |
void | RemoveObserver (string luaExpression, LuaChangedDelegate luaChangedHandler) |
Removes a watch item from the list. More... | |
void | RemoveAllObservers () |
Removes all watch items from the list. More... | |
void | NotifyObservers () |
Checks all watch items. More... | |
This class maintains a list of watch items.
void PixelCrushers.DialogueSystem.LuaWatchList.AddObserver | ( | string | luaExpression, |
LuaChangedDelegate | luaChangedHandler | ||
) |
Adds a watch item to the list.
luaExpression | Lua expression to watch. |
luaChangedHandler | Delegate to call when the expression changes. |
void PixelCrushers.DialogueSystem.LuaWatchList.NotifyObservers | ( | ) |
Checks all watch items.
void PixelCrushers.DialogueSystem.LuaWatchList.RemoveAllObservers | ( | ) |
Removes all watch items from the list.
void PixelCrushers.DialogueSystem.LuaWatchList.RemoveObserver | ( | string | luaExpression, |
LuaChangedDelegate | luaChangedHandler | ||
) |