Project Zomboid Lua Docs 42.20.3
Unofficial documentation for Project Zomboid's Lua
Loading...
Searching...
No Matches
MainScreen Class Reference
Inheritance diagram for MainScreen:
ISPanelJoypad ISUIElement ISBaseObject

Public Member Functions

void initialise ()
void getLatestSave ()
void setBottomPanelVisible (boolean visible)
void instantiate ()
void startNormalMainScreen ()
void copyRev ()
void render ()
number calcLogoHeight ()
void prerender ()
void prerenderBottomPanelLabel ()
void onMouseMove (number dx, number dy)
void updateBottomPanelButtons ()
void setDefaultSandboxVars ()
void onTutorialModalClick (ISButton button)
void onTutorialControllerWarn2 (ISButton button)
void quitToDesktopFunc ()
void onConfirmQuitToDesktop (ISButton button)
void quitToDesktop ()
void onClickTermsOfService (ISButton button)
void onClickReportBug (ISButton button)
void onTermsOfServiceOK ()
void onClickModList ()
void presentServerConnectPopup ()
void update ()
void setSandboxPreset (umbrella::SandboxOptionsScreen::Preset preset)
void onEnterFromGame ()
void onReturnToGame ()
void onKeyRelease (integer key)
void onGainJoypadFocus (JoypadData joypadData)
void onLoseJoypadFocus (JoypadData joypadData)
void onJoypadDown (JoypadButton button, JoypadData joypadData)
void onJoypadDirUp (JoypadData joypadData)
void onJoypadDirDown (JoypadData joypadData)
void showInviteFailDialog (string message)
void onInviteFailDialogButton (ISButton button, ISUIElement focus)
ISUIElement[] getAllUIs ()
ISUIElement getCurrentFocusForController ()
 MainScreen (boolean inGame)
Public Member Functions inherited from ISPanelJoypad
void initialise ()
void setVisible (boolean visible, JoypadData joypadData)
ISButton[] insertNewLineOfButtons (ISButton button1, ISButton button2, ISButton button3, ISButton button4, ISButton button5, ISButton button6, ISButton button7, ISButton button8, ISButton button9, ISButton button10)
void insertNewListOfButtons (ISButton[] list)
boolean removeListOfButtons (ISButton[] list)
void addJoypadButtonRows (ISButton[][] rows)
void removeJoypadButtonRows (ISButton[][] rows)
void autoGenerateJoypadButtonsLists ()
void clearJoypadButtonsList ()
ISPanelJoypad noBackground ()
void close ()
void setISButtonForA (ISButton button)
void setISButtonForB (ISButton button)
void setISButtonForY (ISButton button)
void setISButtonForX (ISButton button)
void clearISButtonA ()
void clearISButtonB ()
void clearISButtonX ()
void clearISButtonY ()
void clearISButtons ()
void onJoypadDown (JoypadButton button, JoypadData joypadData)
integer getChildJoypadIndexY (ISButton child)
integer getChildJoypadIndex (ISButton child)
ISButton[] getVisibleChildren (integer joypadIndexY)
integer getMinVisibleRow ()
integer getMaxVisibleRow ()
integer getPrevVisibleRow (integer row)
integer getNextVisibleRow (integer row)
ISUIElement getClosestChildOnRow (number rowIndex, ISUIElement fromChild)
integer getClosestChild (ISUIElement[] children, ISUIElement fromChild)
void onJoypadDirLeft (JoypadData joypadData)
void onJoypadDirRight (JoypadData joypadData)
void onJoypadDirUp (JoypadData joypadData)
void onJoypadDirDown (JoypadData joypadData)
ISUIElement findNextNavigableChildY (ISUIElement fromChild, number yDir)
ISUIElement findNextNavigableChildX (ISUIElement fromChild, number xDir)
ISUIElement findClosestNavigableChildAlongBounds (ISUIElement fromChild, ISBounds fromChildBounds, ISBounds projectedBounds, number minDistance, fun(boundsA:ISBounds, boundsB:ISBounds):number distanceToFunc, { foundChild:ISUIElement, foundChildDistance:number }[] results)
ISUIElement getJoypadFocus ()
boolean setJoypadFocus (ISUIElement child, JoypadData joypadData)
boolean setJoypadFocusTopLeft (JoypadData joypadData)
void restoreJoypadFocus (JoypadData joypadData)
void clearJoypadFocus (JoypadData joypadData)
umbrella::ISPanelJoypad::JoypadState recordJoypadState ()
void restoreJoypadState (umbrella::ISPanelJoypad::JoypadState state)
void doRightJoystickScrolling (number dx, number dy)
void ensureVisible ()
boolean isFocusOnControl ()
void onMouseUp (number x, number y)
void onMouseUpOutside (number x, number y)
void onMouseDown (number x, number y)
void onMouseMoveOutside (number dx, number dy)
void onMouseMove (number dx, number dy)
void prerender ()
void render ()
void renderDebugUINavigation ()
 ISPanelJoypad (number x, number y, number width, number height)
Public Member Functions inherited from ISUIElement
fun(self:ISUIElement) fun(self:ISUIElement) fun(self:ISUIElement) fun(self:ISUIElement) fun(self:ISUIElement) fun(self:ISUIElement) fun(self:ISUIElement) void initialise ()
void doLayout ()
void setController (integer c)
integer getController ()
ISBounds getBounds ()
ISBounds getLocalBounds ()
ISBounds getAbsoluteBounds ()
ISBounds toLocalBounds (ISBounds absoluteBounds)
ISBounds getScrollableBounds ()
void setBounds (ISBounds bounds)
void setAnchorBottom (boolean bAnchor)
void setAnchorTop (boolean bAnchor)
void setAnchorLeft (boolean bAnchor)
void setAnchorRight (boolean bAnchor)
void setAnchorsTBLR (boolean bAnchorT, boolean bAnchorB, boolean bAnchorL, boolean bAnchorR)
void setAnchors (boolean bAnchor)
boolean getKeepOnScreen ()
void setX (number x)
void setY (number y)
void setCenterY (number y)
void setCenterX (number x)
void setWidth (number w)
void setHeight (number h)
number getWidth ()
number getHeight ()
number getLeft ()
number getRight ()
number getAbsoluteRight ()
number getTop ()
number getBottom ()
number getAbsoluteBottom ()
number getXScroll ()
void setWidthAndParentWidth (number wi)
void setHeightAndParentHeight (number h)
number getYScroll ()
number getMouseX ()
number getMouseY ()
number getSelfCenterX ()
number getCenterX ()
number getCenterY ()
number getAbsoluteCenterX ()
number getAbsoluteCenterY ()
number getX ()
number getY ()
boolean isEnabled ()
void setEnabled (boolean en)
number getAbsoluteX ()
boolean isMouseOver ()
boolean isPointOver (number screenX, number screenY)
boolean isMouseOverChild ()
boolean isPointOverChild (number screenX, number screenY)
void suspendStencil ()
void resumeStencil ()
void setStencilRect (number x, number y, number w, number h)
void setStencilCircle (number x, number y, number w, number h)
void clearStencilRect ()
void repaintStencilRect (number x, number y, number w, number h)
number clampStencilRectToParent (number x, number y, number w, number h)
void ignoreWidthChange ()
number getMaxDrawHeight ()
void setMaxDrawHeight (number height)
void clearMaxDrawHeight ()
void ignoreHeightChange ()
number getAbsoluteY ()
void recalcSize ()
void onResize ()
void setCapture (boolean bCapture)
boolean getIsCaptured ()
unknown isCapture ()
void setFollowGameWorld (boolean bFollow)
boolean getIsFollowGameWorld ()
boolean isFollowGameWorld ()
void setRenderThisPlayerOnly (integer playerNum)
integer getRenderThisPlayerOnly ()
void onLoseJoypadFocus (JoypadData joypadData)
void onGainJoypadFocus (JoypadData joypadData)
void setJoypadFocused (boolean focused, JoypadData joypadData)
void setVisible (boolean bVisible)
UIElement getJavaObject ()
boolean getIsVisible ()
boolean isVisible ()
boolean isReallyVisible ()
void onJoypadDown (JoypadButton button, JoypadData joypadData)
void onJoypadButtonReleased (integer button, JoypadData joypadData)
void onJoypadDirUp (JoypadData joypadData)
void onJoypadDirDown (JoypadData joypadData)
void onJoypadDirLeft (JoypadData joypadData)
void onJoypadDirRight (JoypadData joypadData)
void onJoypadButtonReleased_Descendant (ISUIElement descendant, JoypadButton button, JoypadData joypadData)
void onJoypadDown_Descendant (ISUIElement descendant, JoypadButton button, JoypadData joypadData)
void onJoypadDirUp_Descendant (ISUIElement descendant, JoypadData joypadData)
void onJoypadDirDown_Descendant (ISUIElement descendant, JoypadData joypadData)
void onJoypadDirLeft_Descendant (ISUIElement descendant, JoypadData joypadData)
void onJoypadDirRight_Descendant (ISUIElement descendant, JoypadData joypadData)
void onJoypadBeforeDeactivate (JoypadData joypadData)
void onJoypadBeforeDeactivate_Descendant (ISUIElement descendant, JoypadData joypadData)
boolean hasConflictWithJoypadNavigateStart ()
number getJoypadNavigateStartDelay ()
void onJoypadNavigateStart (JoypadData joypadData)
void onJoypadNavigateEnd (JoypadData joypadData)
void onJoypadNavigateUp (JoypadData joypadData)
void onJoypadNavigateDown (JoypadData joypadData)
void onJoypadNavigateLeft (JoypadData joypadData)
void onJoypadNavigateRight (JoypadData joypadData)
void onJoypadNavigateParent (JoypadData joypadData)
void onJoypadNavigateStart_Descendant (ISUIElement descendant, JoypadData joypadData)
void renderJoypadFocus (number x, number y, number w, number h)
void renderJoypadNavigateOverlay (integer playerNum)
void renderJoypadNavigateCurrent (number x, number y, number w, number h)
void renderJoypadNavigateSelf ()
void renderJoypadNavigateHighlight (JoypadData joypadData, ISUIElement child)
void renderJoypadNavigateTexture (JoypadData joypadData, ISUIElement child, Texture texture)
boolean isDescendant (nil ui)
void instantiate ()
void createChildren ()
void drawTextureAllPoint (Texture|ISUITextureGetter texture, number tlx, number tly, number trx, number try, number brx, number bry, number blx, number bly, number r, number g, number b, number a)
void StartOutline (Texture tex, number outlineThickness, number r, number g, number b, number a)
void EndOutline ()
void drawTextureScaled (Texture|ISUITextureGetter texture, number x, number y, number w, number h, number a, number r, number g, number b)
void drawSubTexture (Texture|ISUITextureGetter texture, number subX, number subY, number subW, number subH, number x, number y, number w, number h, number a, number r, number g, number b)
void drawTextureScaledUniform (Texture|ISUITextureGetter texture, number x, number y, number scale, number a, number r, number g, number b)
void drawTextureScaledAspect (Texture|ISUITextureGetter texture, number x, number y, number w, number h, number a, number r, number g, number b)
void drawTextureScaledAspect2 (Texture|ISUITextureGetter texture, number x, number y, number w, number h, number a, number r, number g, number b)
void drawTextureScaledAspect3 (Texture|ISUITextureGetter texture, number x, number y, number w, number h, number a, number r, number g, number b)
void drawTexture (Texture|ISUITextureGetter texture, number x, number y, number a, number r, number g, number b)
void drawTextureTiled (Texture|ISUITextureGetter texture, number x, number y, number w, number h, number r, number g, number b, number a)
void drawTextureTiledX (Texture|ISUITextureGetter texture, number x, number y, number w, number h, number r, number g, number b, number a)
void drawTextureTiledY (Texture|ISUITextureGetter texture, number x, number y, number w, number h, number r, number g, number b, number a)
void drawTextureTiledYOffset (Texture|ISUITextureGetter texture, number x, number y, number w, number h, number r, number g, number b, number a)
void DrawTextureAngle (Texture|ISUITextureGetter texture, number centerX, number centerY, number angle)
void drawTextureScaledStatic (Texture|ISUITextureGetter texture, number x, number y, number w, number h, number a, number r, number g, number b)
void drawTextureStatic (Texture texture, number x, number y, number a, number r, number g, number b)
void drawItemIcon (InventoryItem item, number x, number y, number a, number w, number h)
void drawScriptItemIcon (Item scriptItem, number x, number y, number a, number w, number h)
void drawRect (number x, number y, number w, number h, number a, number r, number g, number b)
void drawRectBounds (ISBounds bounds, number a, number r, number g, number b)
void drawRectStatic (number x, number y, number w, number h, number a, number r, number g, number b)
void drawRectBorderStatic (number x, number y, number w, number h, number a, number r, number g, number b)
void drawRectBorder (number x, number y, number w, number h, number a, number r, number g, number b)
void drawLine2 (number x, number y, number x2, number y2, number a, number r, number g, number b)
void drawLine (Texture|ISUITextureGetter texture, number x, number y, number x2, number y2, number thickness, number a, number r, number g, number b)
void drawLineAbsolute (Texture|ISUITextureGetter texture, number x, number y, number x2, number y2, number thickness, number a, number r, number g, number b)
void drawPolygon (Texture tex, number x1, number y1, number x2, number y2, number x3, number y3, number x4, number y4, number r, number g, number b, number a)
void drawTextZoomed (string str, number x, number y, number zoom, number r, number g, number b, number a, UIFont font)
void drawTextUntrimmed (string str, number x, number y, number r, number g, number b, number a, UIFont font)
void drawTextCentre (string str, number x, number y, number r, number g, number b, number a, UIFont font)
void drawText (string str, number x, number y, number r, number g, number b, number a, UIFont font)
void drawTextRight (string str, number x, number y, number r, number g, number b, number a, UIFont font)
void setAlwaysOnTop (boolean b)
void drawTextStatic (string str, number x, number y, number r, number g, number b, number a, UIFont font)
void drawTextCentreStatic (string str, number x, number y, number r, number g, number b, number a, UIFont font)
void drawTextRightStatic (string str, number x, number y, number r, number g, number b, number a, UIFont font)
void addToUIManager ()
void removeFromUIManager ()
void backMost ()
void addScrollBars (boolean addHorizontal)
void removeScrollBars ()
boolean isVScrollBarVisible ()
ISUIElement getParent ()
table< integer, ISUIElement > getChildren ()
ISUIElement[] getChildrenInOrder ()
integer numChildren ()
unknown visitAndAllDescendants (unknown param0, fun(target:unknown?, element:ISUIElement) visitor)
unknown visitAllDescendants (unknown param0, fun(target:unknown?, element:ISUIElement) visitor)
ISUIElement addChild (ISUIElement otherElement)
void removeChild (ISUIElement otherElement)
void clearChildren ()
void detachFromParent ()
boolean onMouseWheel (number del)
void onMouseUp (number x, number y)
void setOnMouseDoubleClick (unknown target, umbrella::ISUIElement::MouseDoubleClick onmousedblclick)
void onRightMouseUpOutside (number x, number y)
void onRightMouseDownOutside (number x, number y)
void onMouseUpOutside (number x, number y)
void onMouseDownOutside (number x, number y)
void onFocus (number x, number y)
void bringToTop ()
void onRightMouseUp (number x, number y)
void onRightMouseDown (number x, number y)
void onMouseMove (number dx, number dy)
void onMouseMoveOutside (number dx, number dy)
boolean containsPoint (number x, number y)
boolean containsPointLocal (number x, number y)
void shrinkY (number y)
void shrinkX (number x)
void update ()
void prerender ()
void render ()
void setScrollWidth (number w)
void setScrollHeight (number h)
number getScrollWidth ()
number getScrollHeight ()
void setScrollChildren (boolean b)
boolean getScrollChildren ()
void setScrollWithParent (boolean b)
boolean getScrollWithParent ()
void setYScroll (number y)
void updateScrollbars ()
void setXScroll (number x)
number getScrollAreaWidth ()
number getScrollAreaHeight ()
ISCollapsableWindow wrapInCollapsableWindow (string title, boolean resizable, ISCollapsableWindow subClass)
boolean isRemoved ()
void setRemoved (boolean bremove)
void setUIName (string name)
string getUIName (string name)
string toString ()
string tostring ()
void drawProgressBar (number x, number y, number w, number h, number f, umbrella::RGBA fg)
void stayOnSplitScreen (integer playerNum)
void setWantKeyEvents (boolean want)
void setWantMouseEvents (boolean want)
boolean isWantMouseEvents ()
void setWantExtraMouseEvents (boolean want)
void setForceCursorVisible (boolean force)
number getMaxWidthOfElements (ISUIElement ...)
number setElementWidthToMaxOf (ISUIElement ...)
void shrinkWrap (number padRight, number padBottom, umbrella::ISUIElement::ShrinkWrapPredicate predicate)
void centerOnScreen (integer playerNum)
string toDebugString ()
string toTypeNameString ()
string toPathString ()
void debugPrintTree (string indent)
ISStyle getStyle ()
 ISUIElement (number x, number y, number width, number height)
Public Member Functions inherited from ISBaseObject
void initialise ()
ISBaseObject derive (string type)
boolean instanceof (unknown object, string type)
void addEventListener (string _event, function _callback, unknown _target)
void removeEventListener (string _event, function _callback)
void triggerEvent (string _event, unknown ...)
void clearEventListeners ()
 ISBaseObject ()

Static Public Member Functions

static boolean checkTutorial (ISButton button)
static void onTutorialControllerWarn ()
static void startTutorial ()
static boolean checkMapsAvailable (string mapName, ActiveMods activeMods, table< string, boolean > mapAvailable)
static string[] getMissingMods (ActiveMods activeMods)
static boolean checkSaveFile ()
static void displayCheckSavefileModal (string text, boolean fatal)
static void resetLuaIfNeeded ()
static void onCheckSavefileModalClick (nil model, ISButton button)
static void continueLatestSaveAux (boolean fromResetLua, boolean checkWorldVersion)
static void continueLatestSave (string gameMode, string saveName)
static void onMenuItemMouseDownMainMenu (ISUIElement item, number x, number y)
static void OnTick (number totalTicks)
static void onResetLua (string reason)
static void onResolutionChange (number oldw, number oldh, number neww, number newh)
static void onAcceptInvite (string connectionString)
static void OnJoypadBeforeDeactivate (integer index)
static void setKeyboardMouseActivated ()
Static Public Member Functions inherited from ISPanelJoypad
static string rowListToDebugString (ISUIElement[] list)
static ISUIElement[] autoGenerateJoypadButtonRowsFromUIElement (ISUIElement uiRootElement)
static boolean autoAddUIElementToJoypadButtons (ISUIElement[] allJoypadButtons, ISUIElement uiElement)
static ISUIElement[] getVisibleElements (ISUIElement[] uiElements)

Public Attributes

ISPanel bottomPanel
BootstrapConnectPopup bootstrapConnectPopup
ConnectToServer connectToServer
ServerConnectPopup serverConnectPopup
MultiplayerUI multiplayer
NewGameScreen soloScreen
LoadGameScreen loadScreen
CoopOptionsScreen onlineCoopScreen
WorkshopSubmitScreen workshopSubmit
ServerWorkshopItemScreen serverWorkshopItem
MainOptions mainOptions
CreditsScreen creditsScreen
SandboxOptionsScreen sandOptions
WorldSelect worldSelect
MapSpawnSelect mapSpawnSelect
ModSelector modSelect
CharacterCreationMain charCreationMain
CharacterCreationProfession charCreationProfession
LastStandPlayerSelect lastStandPlayerSelect
ServerSettingsScreen serverSettingsScreen
ISScoreboard scoreboard
InviteFriends inviteFriends
ISLabel returnOption
ISLabel scoreOption
ISLabel inviteOption
ISLabel optionsOption
ISLabel defaultJoypadOption
ISLabel controllerLabel
ISImage abutton
ISLabel controllerLabel2
ISLabel debOption
ISButton resetLua
boolean hasSaveFiles
boolean continueDisabled
ISLabel latestSaveOption
ISLabel loadOption
ISLabel tutorialOption
ISLabel survivalOption
ISLabel onlineOption
ISLabel onlineCoopOption
ISLabel modsOption
ISLabel workshopOption
ISLabel creditOption
ISLabel exitOption
ISLabel quitToDesktopOption
number maxMenuItemWidth
ISButton reportBug
ISButton modListDetail
ISButton termsOfService
ISButton versionBtn
ISLabel seedLabel
SurvivorDesc desc
ISUI3DModel threeD
boolean firstFrame
number delay
number time
number warningFade
ISRichTextPanel demoMessagePanel
ISUIElement overBottomPanelButton
integer MouseEnterMainMenuItem
ISButton tutorialButton
ISModalRichText checkSavefileModal
boolean createWorld
ISTermsOfServiceUI termsOfServiceDialog
ISModalDialog quitToDesktopDialog
ISPauseModListUI infoModList
number warningFadeMax
boolean inGame
string version
Texture logoTexture
integer joypadIndexY
ISButton[] joypadButtons
Public Attributes inherited from ISPanelJoypad
ISButton[] joypadButtons
integer joypadIndexY
integer joypadIndex
ISButton[][] joypadButtonsY
table allJoypadButtons
boolean background
ISButton ISButtonA
ISButton ISButtonB
ISButton ISButtonY
ISButton ISButtonX
ISBounds lastProjectedBounds
ISBounds[] lastIntercepts
boolean moving
number downX
number downY
boolean mouseOver
umbrella::RGBA backgroundColor
umbrella::RGBA borderColor
boolean moveWithMouse
Public Attributes inherited from ISUIElement
table< integer, ISUIElement > children
ISUIElement[] childrenInOrder
integer ID
integer controller
boolean anchorBottom
boolean anchorTop
boolean anchorLeft
boolean anchorRight
number x
number y
number width
number height
boolean enabled
number minimumWidth
number minimumHeight
boolean joypadFocused
umbrella::XYWH joypadNavigatePrevRect
umbrella::ISUIElement::JoypadNavigateTransition joypadNavigateTransition
UIElement javaObject
boolean removed
ISScrollBar vscroll
ISScrollBar hscroll
umbrella::ISUIElement::MouseDoubleClick onMouseDoubleClick
unknown target
number scrollwidth
boolean wantKeyEvents
boolean wantMouseEvents
boolean wantExtraMouseEvents
boolean forceCursorVisible
string name
string creationCallStack
string dock
function onDoLayout
GameOption gameOption
number contentHorizontalAlignment
ISStyle style
boolean autoAddJoypadButton
umbrella::JoypadNavigate joypadNavigate
boolean ignoreAim
string internal
ISUIElement parent
boolean overrideBPrompt
Public Attributes inherited from ISBaseObject
string Type
ISBaseObject SuperType
table< string, table< function, unknown > > __eventListeners

Static Public Attributes

static MainScreen instance
static number StaticHeight
static number StaticWidth

Constructor & Destructor Documentation

◆ MainScreen()

MainScreen::MainScreen ( boolean inGame)

Member Function Documentation

◆ calcLogoHeight()

number MainScreen::calcLogoHeight ( )

◆ checkMapsAvailable()

boolean MainScreen::checkMapsAvailable ( string mapName,
ActiveMods activeMods,
table< string, boolean > mapAvailable )
static

◆ checkSaveFile()

boolean MainScreen::checkSaveFile ( )
static

◆ checkTutorial()

boolean MainScreen::checkTutorial ( ISButton button)
static

◆ continueLatestSave()

void MainScreen::continueLatestSave ( string gameMode,
string saveName )
static

◆ continueLatestSaveAux()

void MainScreen::continueLatestSaveAux ( boolean fromResetLua,
boolean checkWorldVersion )
static

◆ copyRev()

void MainScreen::copyRev ( )

◆ displayCheckSavefileModal()

void MainScreen::displayCheckSavefileModal ( string text,
boolean fatal )
static

◆ getAllUIs()

ISUIElement[] MainScreen::getAllUIs ( )

◆ getCurrentFocusForController()

ISUIElement MainScreen::getCurrentFocusForController ( )

◆ getLatestSave()

void MainScreen::getLatestSave ( )

◆ getMissingMods()

string[] MainScreen::getMissingMods ( ActiveMods activeMods)
static

◆ initialise()

void MainScreen::initialise ( )

◆ instantiate()

void MainScreen::instantiate ( )

◆ onAcceptInvite()

void MainScreen::onAcceptInvite ( string connectionString)
static

◆ onCheckSavefileModalClick()

void MainScreen::onCheckSavefileModalClick ( nil model,
ISButton button )
static

◆ onClickModList()

void MainScreen::onClickModList ( )

◆ onClickReportBug()

void MainScreen::onClickReportBug ( ISButton button)

◆ onClickTermsOfService()

void MainScreen::onClickTermsOfService ( ISButton button)

◆ onConfirmQuitToDesktop()

void MainScreen::onConfirmQuitToDesktop ( ISButton button)

◆ onEnterFromGame()

void MainScreen::onEnterFromGame ( )

◆ onGainJoypadFocus()

void MainScreen::onGainJoypadFocus ( JoypadData joypadData)

◆ onInviteFailDialogButton()

void MainScreen::onInviteFailDialogButton ( ISButton button,
ISUIElement focus )

◆ OnJoypadBeforeDeactivate()

void MainScreen::OnJoypadBeforeDeactivate ( integer index)
static

◆ onJoypadDirDown()

void MainScreen::onJoypadDirDown ( JoypadData joypadData)

◆ onJoypadDirUp()

void MainScreen::onJoypadDirUp ( JoypadData joypadData)

◆ onJoypadDown()

void MainScreen::onJoypadDown ( JoypadButton button,
JoypadData joypadData )

◆ onKeyRelease()

void MainScreen::onKeyRelease ( integer key)

◆ onLoseJoypadFocus()

void MainScreen::onLoseJoypadFocus ( JoypadData joypadData)

◆ onMenuItemMouseDownMainMenu()

void MainScreen::onMenuItemMouseDownMainMenu ( ISUIElement item,
number x,
number y )
static

◆ onMouseMove()

void MainScreen::onMouseMove ( number dx,
number dy )

◆ onResetLua()

void MainScreen::onResetLua ( string reason)
static

◆ onResolutionChange()

void MainScreen::onResolutionChange ( number oldw,
number oldh,
number neww,
number newh )
static

◆ onReturnToGame()

void MainScreen::onReturnToGame ( )

◆ onTermsOfServiceOK()

void MainScreen::onTermsOfServiceOK ( )

◆ OnTick()

void MainScreen::OnTick ( number totalTicks)
static

◆ onTutorialControllerWarn()

void MainScreen::onTutorialControllerWarn ( )
static

◆ onTutorialControllerWarn2()

void MainScreen::onTutorialControllerWarn2 ( ISButton button)

◆ onTutorialModalClick()

void MainScreen::onTutorialModalClick ( ISButton button)

◆ prerender()

void MainScreen::prerender ( )

◆ prerenderBottomPanelLabel()

void MainScreen::prerenderBottomPanelLabel ( )

◆ presentServerConnectPopup()

void MainScreen::presentServerConnectPopup ( )

◆ quitToDesktop()

void MainScreen::quitToDesktop ( )

◆ quitToDesktopFunc()

void MainScreen::quitToDesktopFunc ( )

◆ render()

void MainScreen::render ( )

◆ resetLuaIfNeeded()

void MainScreen::resetLuaIfNeeded ( )
static

◆ setBottomPanelVisible()

void MainScreen::setBottomPanelVisible ( boolean visible)

◆ setDefaultSandboxVars()

void MainScreen::setDefaultSandboxVars ( )

◆ setKeyboardMouseActivated()

void MainScreen::setKeyboardMouseActivated ( )
static

◆ setSandboxPreset()

void MainScreen::setSandboxPreset ( umbrella::SandboxOptionsScreen::Preset preset)

◆ showInviteFailDialog()

void MainScreen::showInviteFailDialog ( string message)

◆ startNormalMainScreen()

void MainScreen::startNormalMainScreen ( )

◆ startTutorial()

void MainScreen::startTutorial ( )
static

◆ update()

void MainScreen::update ( )

◆ updateBottomPanelButtons()

void MainScreen::updateBottomPanelButtons ( )

Member Data Documentation

◆ abutton

ISImage MainScreen::abutton

◆ bootstrapConnectPopup

BootstrapConnectPopup MainScreen::bootstrapConnectPopup

◆ bottomPanel

ISPanel MainScreen::bottomPanel

◆ charCreationMain

CharacterCreationMain MainScreen::charCreationMain

◆ charCreationProfession

CharacterCreationProfession MainScreen::charCreationProfession

◆ checkSavefileModal

ISModalRichText MainScreen::checkSavefileModal

◆ connectToServer

ConnectToServer MainScreen::connectToServer

◆ continueDisabled

boolean MainScreen::continueDisabled

◆ controllerLabel

ISLabel MainScreen::controllerLabel

◆ controllerLabel2

ISLabel MainScreen::controllerLabel2

◆ createWorld

boolean MainScreen::createWorld

◆ creditOption

ISLabel MainScreen::creditOption

◆ creditsScreen

CreditsScreen MainScreen::creditsScreen

◆ debOption

ISLabel MainScreen::debOption

◆ defaultJoypadOption

ISLabel MainScreen::defaultJoypadOption

◆ delay

number MainScreen::delay

◆ demoMessagePanel

ISRichTextPanel MainScreen::demoMessagePanel

◆ desc

SurvivorDesc MainScreen::desc

◆ exitOption

ISLabel MainScreen::exitOption

◆ firstFrame

boolean MainScreen::firstFrame

◆ hasSaveFiles

boolean MainScreen::hasSaveFiles

◆ infoModList

ISPauseModListUI MainScreen::infoModList

◆ inGame

boolean MainScreen::inGame

◆ instance

MainScreen MainScreen::instance
static

◆ inviteFriends

InviteFriends MainScreen::inviteFriends

◆ inviteOption

ISLabel MainScreen::inviteOption

◆ joypadButtons

ISButton [] MainScreen::joypadButtons

◆ joypadIndexY

integer MainScreen::joypadIndexY

◆ lastStandPlayerSelect

LastStandPlayerSelect MainScreen::lastStandPlayerSelect

◆ latestSaveOption

ISLabel MainScreen::latestSaveOption

◆ loadOption

ISLabel MainScreen::loadOption

◆ loadScreen

LoadGameScreen MainScreen::loadScreen

◆ logoTexture

Texture MainScreen::logoTexture

◆ mainOptions

MainOptions MainScreen::mainOptions

◆ mapSpawnSelect

MapSpawnSelect MainScreen::mapSpawnSelect

◆ maxMenuItemWidth

number MainScreen::maxMenuItemWidth

◆ modListDetail

ISButton MainScreen::modListDetail

◆ modSelect

ModSelector MainScreen::modSelect

◆ modsOption

ISLabel MainScreen::modsOption

◆ MouseEnterMainMenuItem

integer MainScreen::MouseEnterMainMenuItem

◆ multiplayer

MultiplayerUI MainScreen::multiplayer

◆ onlineCoopOption

ISLabel MainScreen::onlineCoopOption

◆ onlineCoopScreen

CoopOptionsScreen MainScreen::onlineCoopScreen

◆ onlineOption

ISLabel MainScreen::onlineOption

◆ optionsOption

ISLabel MainScreen::optionsOption

◆ overBottomPanelButton

ISUIElement MainScreen::overBottomPanelButton

◆ quitToDesktopDialog

ISModalDialog MainScreen::quitToDesktopDialog

◆ quitToDesktopOption

ISLabel MainScreen::quitToDesktopOption

◆ reportBug

ISButton MainScreen::reportBug

◆ resetLua

ISButton MainScreen::resetLua

◆ returnOption

ISLabel MainScreen::returnOption

◆ sandOptions

SandboxOptionsScreen MainScreen::sandOptions

◆ scoreboard

ISScoreboard MainScreen::scoreboard

◆ scoreOption

ISLabel MainScreen::scoreOption

◆ seedLabel

ISLabel MainScreen::seedLabel

◆ serverConnectPopup

ServerConnectPopup MainScreen::serverConnectPopup

◆ serverSettingsScreen

ServerSettingsScreen MainScreen::serverSettingsScreen

◆ serverWorkshopItem

ServerWorkshopItemScreen MainScreen::serverWorkshopItem

◆ soloScreen

NewGameScreen MainScreen::soloScreen

◆ StaticHeight

number MainScreen::StaticHeight
static

◆ StaticWidth

number MainScreen::StaticWidth
static

◆ survivalOption

ISLabel MainScreen::survivalOption

◆ termsOfService

ISButton MainScreen::termsOfService

◆ termsOfServiceDialog

ISTermsOfServiceUI MainScreen::termsOfServiceDialog

◆ threeD

ISUI3DModel MainScreen::threeD

◆ time

number MainScreen::time

◆ tutorialButton

ISButton MainScreen::tutorialButton

◆ tutorialOption

ISLabel MainScreen::tutorialOption

◆ version

string MainScreen::version

◆ versionBtn

ISButton MainScreen::versionBtn

◆ warningFade

number MainScreen::warningFade

◆ warningFadeMax

number MainScreen::warningFadeMax

◆ workshopOption

ISLabel MainScreen::workshopOption

◆ workshopSubmit

WorkshopSubmitScreen MainScreen::workshopSubmit

◆ worldSelect

WorldSelect MainScreen::worldSelect

The documentation for this class was generated from the following file: