DayZ 1.26
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
Класс UAInterface

Закрытые члены

void UAInterface ()
 
void ~UAInterface ()
 
proto native float SyncedValue_ID (int action, bool check_focus=true)
 Get action state.
 
proto native float SyncedValue (string action, bool check_focus=true)
 
proto native bool SyncedPress_ID (int action, bool check_focus=true)
 Returns true just in frame, when action was invoked (button was pressed)
 
proto native bool SyncedPress (string action, bool check_focus=true)
 
proto native bool SyncedRelease_ID (int action, bool check_focus=true)
 Returns true just in frame, when release action happened (button was released)
 
proto native bool SyncedRelease (string action, bool check_focus=true)
 
proto native bool SyncedHold_ID (int action, bool check_focus=true)
 Returns true just in frame, when hold action invoked (button is hold)
 
proto native bool SyncedHold (string action, bool check_focus=true)
 
proto native bool SyncedDbl_ID (int action, bool check_focus=true)
 Returns true just in frame, when double click action invoked (button double clicked)
 
proto native bool SyncedDbl (string action, bool check_focus=true)
 
proto native bool SyncedClick_ID (int action, bool check_focus=true)
 Returns true just in frame, when single click action invoked (button pressed and released before hold timer)
 
proto native bool SyncedClick (string action, bool check_focus=true)
 

Подробное описание

Конструктор(ы)

◆ UAInterface()

void UAInterface ( )
inlineprivate
97{}

◆ ~UAInterface()

void ~UAInterface ( )
inlineprivate
98{}

Методы

◆ SyncedClick()

proto native bool SyncedClick ( string action,
bool check_focus = true )
private

◆ SyncedClick_ID()

proto native bool SyncedClick_ID ( int action,
bool check_focus = true )
private

Returns true just in frame, when single click action invoked (button pressed and released before hold timer)

Аргументы
actionid of action, defined in 4_World/Classes/UserActionsComponent/_constants.c
check_focusif true and game is unfocused, returns 0; otherwise returns actual value
Возвращает
true if action was released in that frame, false otherwise
См. также
SyncedClick()

◆ SyncedDbl()

proto native bool SyncedDbl ( string action,
bool check_focus = true )
private

◆ SyncedDbl_ID()

proto native bool SyncedDbl_ID ( int action,
bool check_focus = true )
private

Returns true just in frame, when double click action invoked (button double clicked)

Аргументы
actionid of action, defined in 4_World/Classes/UserActionsComponent/_constants.c
check_focusif true and game is unfocused, returns 0; otherwise returns actual value
Возвращает
true if action was released in that frame, false otherwise
См. также
SyncedDbl()

◆ SyncedHold()

proto native bool SyncedHold ( string action,
bool check_focus = true )
private

◆ SyncedHold_ID()

proto native bool SyncedHold_ID ( int action,
bool check_focus = true )
private

Returns true just in frame, when hold action invoked (button is hold)

Аргументы
actionid of action, defined in 4_World/Classes/UserActionsComponent/_constants.c
check_focusif true and game is unfocused, returns 0; otherwise returns actual value
Возвращает
true if action was released in that frame, false otherwise
См. также
SyncedHold()

◆ SyncedPress()

proto native bool SyncedPress ( string action,
bool check_focus = true )
private

◆ SyncedPress_ID()

proto native bool SyncedPress_ID ( int action,
bool check_focus = true )
private

Returns true just in frame, when action was invoked (button was pressed)

Аргументы
actionid of action, defined in 4_World/Classes/UserActionsComponent/_constants.c
check_focusif true and game is unfocused, returns 0; otherwise returns actual value
Возвращает
true if action was invoked in that frame, false otherwise
См. также
SyncedPress()

◆ SyncedRelease()

proto native bool SyncedRelease ( string action,
bool check_focus = true )
private

◆ SyncedRelease_ID()

proto native bool SyncedRelease_ID ( int action,
bool check_focus = true )
private

Returns true just in frame, when release action happened (button was released)

Аргументы
actionid of action, defined in 4_World/Classes/UserActionsComponent/_constants.c
check_focusif true and game is unfocused, returns 0; otherwise returns actual value
Возвращает
true if action was released in that frame, false otherwise
См. также
SyncedRelease()

◆ SyncedValue()

proto native float SyncedValue ( string action,
bool check_focus = true )
private

◆ SyncedValue_ID()

proto native float SyncedValue_ID ( int action,
bool check_focus = true )
private

Get action state.

Аргументы
actionid of action, defined in 4_World/Classes/UserActionsComponent/_constants.c
check_focusif true and game is unfocused, returns 0; otherwise returns actual value
Возвращает
actual action state as float, for regular two state buttons returns 0 or 1, for analog buttons/axes returns value in interval <0, 1> with consideration of defined deadzones
См. также
SyncedValue()

Объявления и описания членов класса находятся в файле: