PixelCrushers.DialogueSystem.LuaWatchList Class Reference

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...
 

Detailed Description

This class maintains a list of watch items.

Member Function Documentation

◆ AddObserver()

void PixelCrushers.DialogueSystem.LuaWatchList.AddObserver ( string  luaExpression,
LuaChangedDelegate  luaChangedHandler 
)

Adds a watch item to the list.

Parameters
luaExpressionLua expression to watch.
luaChangedHandlerDelegate to call when the expression changes.

◆ NotifyObservers()

void PixelCrushers.DialogueSystem.LuaWatchList.NotifyObservers ( )

Checks all watch items.

◆ RemoveAllObservers()

void PixelCrushers.DialogueSystem.LuaWatchList.RemoveAllObservers ( )

Removes all watch items from the list.

◆ RemoveObserver()

void PixelCrushers.DialogueSystem.LuaWatchList.RemoveObserver ( string  luaExpression,
LuaChangedDelegate  luaChangedHandler 
)

Removes a watch item from the list.

Parameters
luaExpressionLua expression.
luaChangedHandlerLua changed handler.

The documentation for this class was generated from the following file: