Метод | Описание | |
---|---|---|
AddLegacy ( LuaState luaState, string text, NOTIFY notifyType, double length ) : void |
Adds a standard notification to your screen.
|
|
AddProgress ( LuaState luaState, object uniqueId, string text ) : void |
Adds a notification with an animated progress bar.
|
|
Kill ( LuaState luaState, object uniqueId ) : void |
Removes the notification after 0.8 seconds.
|
public static AddLegacy ( LuaState luaState, string text, NOTIFY notifyType, double length ) : void | ||
luaState | LuaState | Pointer to lua_State struct. |
text | string | The string to display. |
notifyType | NOTIFY | Determines the method for displaying the notification. |
length | double | The number of seconds to display the notification for. |
Результат | void |
public static AddProgress ( LuaState luaState, object uniqueId, string text ) : void | ||
luaState | LuaState | Pointer to lua_State struct. |
uniqueId | object | Can be any type. It's used as an index. |
text | string | The text to show. |
Результат | void |
public static Kill ( LuaState luaState, object uniqueId ) : void | ||
luaState | LuaState | Pointer to lua_State struct. |
uniqueId | object | The unique ID of the notification. |
Результат | void |