|
tModLoader v2025.10
A mod to make and play Terraria mods
|
Inherits AWorkshopPublishInfoState< ResourcePack >.
Public Member Functions | |
| WorkshopPublishInfoStateForResourcePack (UIState stateToGoBackTo, ResourcePack resourcePack) | |
Public Member Functions inherited from AWorkshopPublishInfoState< ResourcePack > | |
| AWorkshopPublishInfoState (UIState stateToGoBackTo, TPublishedObjectType dataObject) | |
| void | ClearOptionDescription (UIMouseEvent evt, UIElement listeningElement) |
| override void | Draw (SpriteBatch spriteBatch) |
Handles drawing this element and all of its children over this element. Calls DrawSelf(SpriteBatch) and then DrawChildren(SpriteBatch). Custom rendering for a UIElement is most typically done in DrawSelf(SpriteBatch). Overriding this method can be useful if logic needs to run after children are drawn, just remember to not delete base.Draw(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< WorkshopTagOption > | GetTagsToShow () |
| override void | GoToPublishConfirmation () |
| override bool | TryFindingTags (out FoundWorkshopEntryInfo info) |
Protected Member Functions inherited from AWorkshopPublishInfoState< ResourcePack > | |
| abstract string | GetPublishedObjectDisplayName () |
| WorkshopItemPublishSettings | GetPublishSettings () |
| abstract List< WorkshopTagOption > | GetTagsToShow () |
| abstract void | GoToPublishConfirmation () |
| abstract bool | TryFindingTags (out FoundWorkshopEntryInfo info) |
| virtual void | UpdateImagePreview () |
Additional Inherited Members | |
Protected Attributes inherited from AWorkshopPublishInfoState< ResourcePack > | |
| 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< ResourcePack > | |
| UIState | PreviousUIState [get, set] |
|
protectedvirtual |
Implements AWorkshopPublishInfoState< ResourcePack >.
|
protectedvirtual |
Implements AWorkshopPublishInfoState< ResourcePack >.
|
protectedvirtual |
Implements AWorkshopPublishInfoState< ResourcePack >.
|
protectedvirtual |
Implements AWorkshopPublishInfoState< ResourcePack >.