Skip to content

M_MSCLoader_ModUI_ShowCustomMessage_1

piotrulos edited this page Apr 7, 2023 · 1 revision

ModUI.ShowCustomMessage Method (String, String, MsgBoxBtn[], MsgBoxBtn[])

Show Custom message, you can create MessageBox with custom buttons using CreateMessageBoxBtn() first

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

Syntax

C#

public static void ShowCustomMessage(
	string message,
	string title,
	<a href="T_MSCLoader_MsgBoxBtn">MsgBoxBtn</a>[] buttons,
	<a href="T_MSCLoader_MsgBoxBtn">MsgBoxBtn</a>[] buttons2
)

View Source

Parameters

 

message
Type: System.String
>Message content
title
Type: System.String
Title of message
buttons
Type: MSCLoader.MsgBoxBtn[]
Buttons created using CreateMessageBoxBtn()
buttons2
Type: MSCLoader.MsgBoxBtn[]
A place to add "second row" of buttons.

See Also

Reference

ModUI Class
ShowCustomMessage Overload
MSCLoader Namespace

Clone this wiki locally