Skip to content

M_MSCLoader_ModUI_CreateMessageBoxBtn

piotrulos edited this page Apr 7, 2023 · 1 revision

ModUI.CreateMessageBoxBtn Method (String, Action, Boolean)

Create Message Box Button for ShowCustomMessage(...);

Namespace: MSCLoader
Assembly: MSCLoader (in MSCLoader.dll) Version: 1.2.11.286

Syntax

C#

public static <a href="T_MSCLoader_MsgBoxBtn">MsgBoxBtn</a> CreateMessageBoxBtn(
	string ButtonText,
	Action ifClicked = null,
	bool noClosing = false
)

View Source

Parameters

 

ButtonText
Type: System.String
Text on the Button
ifClicked (Optional)
Type: System.Action
Action if button was clicked (leave null for just closing meesage box)
noClosing (Optional)
Type: System.Boolean
Don't close MessageBox when action is triggered

Return Value

Type: MsgBoxBtn
MsgBoxBtn

See Also

Reference

ModUI Class
CreateMessageBoxBtn Overload
MSCLoader Namespace

Clone this wiki locally