tModLoader v2024.11
A mod to make and play Terraria mods
WorkshopPublishInfoStateForWorld Class Reference

Inherits AWorkshopPublishInfoState< WorldFileData >.

Public Member Functions

 WorkshopPublishInfoStateForWorld (UIState stateToGoBackTo, WorldFileData world)
 
- Public Member Functions inherited from AWorkshopPublishInfoState< WorldFileData >
 AWorkshopPublishInfoState (UIState stateToGoBackTo, TPublishedObjectType dataObject)
 
void ClearOptionDescription (UIMouseEvent evt, UIElement listeningElement)
 
override void Draw (SpriteBatch spriteBatch)
 
void HandleBackButtonUsage ()
 
override void OnInitialize ()
 Called before the first time this element is activated (see OnActivate). Use this method to create and append other UIElement to this to build a UI.
 
override void Recalculate ()
 
void ShowOptionDescription (UIMouseEvent evt, UIElement listeningElement)
 

Protected Member Functions

override string GetPublishedObjectDisplayName ()
 
override List< WorkshopTagOptionGetTagsToShow ()
 
override void GoToPublishConfirmation ()
 
override bool TryFindingTags (out FoundWorkshopEntryInfo info)
 
- Protected Member Functions inherited from AWorkshopPublishInfoState< WorldFileData >
abstract string GetPublishedObjectDisplayName ()
 
WorkshopItemPublishSettings GetPublishSettings ()
 
abstract List< WorkshopTagOptionGetTagsToShow ()
 
abstract void GoToPublishConfirmation ()
 
abstract bool TryFindingTags (out FoundWorkshopEntryInfo info)
 
virtual void UpdateImagePreview ()
 

Additional Inherited Members

- Protected Attributes inherited from AWorkshopPublishInfoState< WorldFileData >
TPublishedObjectType _dataObject
 
UIText _disclaimerText
 
string _instructionsTextKey
 
string _previewImagePath
 
UICharacterNameButton _previewImagePathPlate
 
Texture2D _previewImageTransientTexture
 
UIImage _previewImageUIElement
 
UIState _previousUIState
 
string _publishedObjectNameDescriptorTexKey
 
List< GroupOptionButton< WorkshopTagOption > > _tagOptions
 
UIElement _tMLDisclaimerButton
 
UIText _tMLDisclaimerText
 
- Properties inherited from AWorkshopPublishInfoState< WorldFileData >
UIState PreviousUIState [get, set]
 

Member Function Documentation

◆ GetPublishedObjectDisplayName()

override string WorkshopPublishInfoStateForWorld.GetPublishedObjectDisplayName ( )
protectedvirtual

◆ GetTagsToShow()

override List< WorkshopTagOption > WorkshopPublishInfoStateForWorld.GetTagsToShow ( )
protectedvirtual

◆ GoToPublishConfirmation()

override void WorkshopPublishInfoStateForWorld.GoToPublishConfirmation ( )
protectedvirtual

◆ TryFindingTags()

override bool WorkshopPublishInfoStateForWorld.TryFindingTags ( out FoundWorkshopEntryInfo  info)
protectedvirtual