H7GFxRequestPopup¶
Class in MMH7Game · MMH7Game.H7GFxRequestPopup
Object › GFxObject › H7GFxListener › H7GFxUIContainer › H7GFxRequestPopup
Within: GFxMoviePlayer
Using it from Lua
Properties¶
| Name | Type | Notes |
|---|---|---|
mCloseButtonEnabled | bool | protected |
mData | GFxObject | protected |
mNoButtonEnabled | bool | protected |
mOpenedThisFrame | bool | protected |
mYesButtonEnabled | bool | protected |
noButton | GFxClikWidget | protected |
yesButton | GFxClikWidget | protected |
Functions¶
| Name | Declaration |
|---|---|
ClearTimer | function ClearTimer() |
EndCloseProtection | function EndCloseProtection() |
EscapePressed | function EscapePressed() |
ExecuteFinishCallback | function ExecuteFinishCallback() |
Finish | function Finish() |
GetInput | function string GetInput() |
Initialize | function Initialize() |
InputPopup | function InputPopup(string Question, string defaultInput, string yesCaption, string noCaption) |
ItemPopup | function ItemPopup(string flavorText, H7HeroItem Item) |
MessagePopup | function MessagePopup(string Title, string Message) |
NoButtonClicked | function NoButtonClicked(EventData Data) |
NoChoicePopup | function NoChoicePopup(string blockMessage) |
OKPopup | function OKPopup(string infoMessage, string okCaption) |
OnClose | delegate OnClose() |
OnNo | delegate OnNo() |
OnTimerRunOut | delegate OnTimerRunOut() |
OnYes | delegate OnYes() |
SetNoButtonState | function SetNoButtonState(bool val, string Reason) |
SetQuestionText | function SetQuestionText(string newText) |
SetTimer | function SetTimer(int Seconds) |
SetTutorialBG | function SetTutorialBG() |
SetYesButtonState | function SetYesButtonState(bool val, string Reason) |
TimerRunOut | function TimerRunOut() |
Update | private final function Update() |
WasOpenedThisFrame | function bool WasOpenedThisFrame() |
YesButtonClicked | function YesButtonClicked(EventData Data) |
YesNoCostPopup | function YesNoCostPopup(string Question, string yesCaption, string noCaption, array<H7ResourceQuantity> Cost, optional bool closeButton = false) |
YesNoPopup | function YesNoPopup(string Question, string yesCaption, string noCaption, optional bool closeButton = false) |