C# 클래스 GarrysModLuaShared.notification

Used to display notifications on the screen (mid-right).
파일 보기 프로젝트 열기: OmegaExtern/gmod-csharp-binary-module

공개 메소드들

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

메소드 상세

AddLegacy() 공개 정적인 메소드

Adds a standard notification to your screen.
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

AddProgress() 공개 정적인 메소드

Adds a notification with an animated progress bar.
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

Kill() 공개 정적인 메소드

Removes the notification after 0.8 seconds.
public static Kill ( LuaState luaState, object uniqueId ) : void
luaState LuaState Pointer to lua_State struct.
uniqueId object The unique ID of the notification.
리턴 void