Click or drag to resize
IMyUtilitiesCreateNotification Method

[This is preliminary documentation and is subject to change.]

Create a notification object. The object needs to have Show() called on it to be shown. On top of that you can dynamically change the text, font and adjust the time to live.

Namespace: VRage.Game.ModAPI
Assembly: VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax
C#
IMyHudNotification CreateNotification(
	string message,
	int disappearTimeMs = 2000,
	MyFontEnum font = MyFontEnum.White
)

Parameters

message
Type: SystemString

[Missing <param name="message"/> documentation for "M:VRage.Game.ModAPI.IMyUtilities.CreateNotification(System.String,System.Int32,VRage.Game.MyFontEnum)"]

disappearTimeMs (Optional)
Type: SystemInt32

[Missing <param name="disappearTimeMs"/> documentation for "M:VRage.Game.ModAPI.IMyUtilities.CreateNotification(System.String,System.Int32,VRage.Game.MyFontEnum)"]

font (Optional)
Type: VRage.GameMyFontEnum

[Missing <param name="font"/> documentation for "M:VRage.Game.ModAPI.IMyUtilities.CreateNotification(System.String,System.Int32,VRage.Game.MyFontEnum)"]

Return Value

Type: IMyHudNotification
The notification object.
See Also