Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
SteamWorkshopExportDialog Class Reference

Steam workshop export item dialogue More...

Inheritance diagram for SteamWorkshopExportDialog:

Classes

class  ReturnItems
 

Public Member Functions

void CloseDialog ()
 
void OnCancel ()
 
void OnConfirm ()
 

Static Public Member Functions

static SteamWorkshopExportDialog Spawn (string title, string message, Callback< ReturnItems > onOk, Callback< bool > onCancel, bool showCancelBtn=true, bool showVisibilityOption=true, bool showChangeLog=true, bool showModsSection=false, bool showVesselTypeSection=false, VesselType vesselType=VesselType.Ship)
 Spawn and display a Steam Workshop Item export dialog with OK/Cancel More...
 
static SteamWorkshopExportDialog Spawn (string title, string message, Callback< ReturnItems > onOk, bool showCancelBtn=true, bool showVisibilityOption=true, bool showChangeLog=true, bool showModsSection=false, bool showVesselTypeSection=false, VesselType vesselType=VesselType.Ship)
 Spawn and display a Steam Workshop Item export dialog with OK/Cancel More...
 
static SteamWorkshopExportDialog Spawn (string title, string message, string textCancel, string textOK, string textDontShowAgain, Callback< ReturnItems > onOk, Callback< bool > onCancel, bool showCancelBtn=true, bool showVisibilityOption=true, bool showChangeLog=true, bool showModsSection=false, bool showVesselTypeSection=false, VesselType vesselType=VesselType.Ship)
 Spawn and display a Steam Workshop Item export dialog with OK/Cancel More...
 

Public Attributes

bool modal = true
 If true dialog is modal. More...
 

Protected Member Functions

void OnToggle (TypeButton t, bool b)
 
void ToggleSetup (TypeButton t, UnityAction< bool > onValueChangedCallback)
 

Detailed Description

Steam workshop export item dialogue

Member Function Documentation

void SteamWorkshopExportDialog.CloseDialog ( )
inline
void SteamWorkshopExportDialog.OnCancel ( )
inline
void SteamWorkshopExportDialog.OnConfirm ( )
inline
void SteamWorkshopExportDialog.OnToggle ( TypeButton  t,
bool  b 
)
inlineprotected
static SteamWorkshopExportDialog SteamWorkshopExportDialog.Spawn ( string  title,
string  message,
Callback< ReturnItems onOk,
Callback< bool >  onCancel,
bool  showCancelBtn = true,
bool  showVisibilityOption = true,
bool  showChangeLog = true,
bool  showModsSection = false,
bool  showVesselTypeSection = false,
VesselType  vesselType = VesselType.Ship 
)
inlinestatic

Spawn and display a Steam Workshop Item export dialog with OK/Cancel

Parameters
titleTitle text in the dialog
messageMessage text in the dialog
onOkCallback to invoke when OK is pressed
onCancelCallback to invoked when Cancel is pressed
showCancelBtnTrue to show a cancel button, otherwise just show an OK
showVisibilityOptionTrue to show the workshop visibility toggle
showChangeLogTrue to show the workshop changelog section
showModsSectionTrue to show the mods section
showVesselTypeSectionTrue to show the vessel type section
vesselTypeThe VesselType to be initially selected in the dialog
Returns
static SteamWorkshopExportDialog SteamWorkshopExportDialog.Spawn ( string  title,
string  message,
Callback< ReturnItems onOk,
bool  showCancelBtn = true,
bool  showVisibilityOption = true,
bool  showChangeLog = true,
bool  showModsSection = false,
bool  showVesselTypeSection = false,
VesselType  vesselType = VesselType.Ship 
)
inlinestatic

Spawn and display a Steam Workshop Item export dialog with OK/Cancel

Parameters
titleTitle text in the dialog
messageMessage text in the dialog
onOkCallback to invoke when OK is pressed
showCancelBtnTru to show a cancle button, otherwise just show an OK
showVisibilityOptionTrue to show the workshop visibility toggle
showChangeLogTrue to show the workshop changelog section
showModsSectionTrue to show the mods section
showVesselTypeSectionTrue to show the vessel type section
vesselTypeThe VesselType to be initially selected in the dialog
Returns
static SteamWorkshopExportDialog SteamWorkshopExportDialog.Spawn ( string  title,
string  message,
string  textCancel,
string  textOK,
string  textDontShowAgain,
Callback< ReturnItems onOk,
Callback< bool >  onCancel,
bool  showCancelBtn = true,
bool  showVisibilityOption = true,
bool  showChangeLog = true,
bool  showModsSection = false,
bool  showVesselTypeSection = false,
VesselType  vesselType = VesselType.Ship 
)
inlinestatic

Spawn and display a Steam Workshop Item export dialog with OK/Cancel

Parameters
titleTitle text in the dialog
messageMessage text in the dialog
onOkCallback to invoke when OK is pressed
onCancelCallback to invoked when Cancel is pressed
showCancelBtnTru to show a cancle button, otherwise just show an OK
textCancelText to display in the cancel button
textOKText to Display in the OK button
textDontShowAgainText to show in the Dont show me again toggle
showVisibilityOptionTrue to show the workshop visibility toggle
showChangeLogTrue to show the workshop changelog section
showModsSectionTrue to show the mods section
showVesselTypeSectionTrue to show the vessel type section
vesselTypeThe VesselType to be initially selected in the dialog
Returns
void SteamWorkshopExportDialog.ToggleSetup ( TypeButton  t,
UnityAction< bool >  onValueChangedCallback 
)
inlineprotected

Member Data Documentation

bool SteamWorkshopExportDialog.modal = true

If true dialog is modal.


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