[Quest API] Add Popup(title, text, popup_id, negative_id, button_type, duration, button_name_one, button_name_two, sound_controls) to Lua. (#1396)

- Add client:Popup(title, text, popup_id, negative_id, button_type, duration, button_name_one, button_name_two, sound_controls) to Lua.
- There is no overload for only using button_name_one, as the SendFullPopup requires both button names to be set.
This commit is contained in:
Alex
2021-06-13 19:44:54 -04:00
committed by GitHub
parent 45eea666a1
commit 2ca37ae838
2 changed files with 49 additions and 0 deletions
+7
View File
@@ -359,6 +359,13 @@ public:
void EnableAreaRegens(int value);
void DisableAreaRegens();
void SetHideMe(bool hide_me_state);
void Popup(const char* title, const char* text);
void Popup(const char* title, const char* text, uint32 popup_id);
void Popup(const char* title, const char* text, uint32 popup_id, uint32 negative_id);
void Popup(const char* title, const char* text, uint32 popup_id, uint32 negative_id, uint32 button_type);
void Popup(const char* title, const char* text, uint32 popup_id, uint32 negative_id, uint32 button_type, uint32 duration);
void Popup(const char* title, const char* text, uint32 popup_id, uint32 negative_id, uint32 button_type, uint32 duration, const char* button_name_one, const char* button_name_two);
void Popup(const char* title, const char* text, uint32 popup_id, uint32 negative_id, uint32 button_type, uint32 duration, const char* button_name_one, const char* button_name_two, uint32 sound_controls);
void SetPrimaryWeaponOrnamentation(uint32 model_id);
void SetSecondaryWeaponOrnamentation(uint32 model_id);