Terraria ModLoader  0.11.1
A framework for Terraria mods
Terraria.ModLoader.UsageException Class Reference
+ Inheritance diagram for Terraria.ModLoader.UsageException:
+ Collaboration diagram for Terraria.ModLoader.UsageException:

Public Member Functions

 UsageException ()
 
 UsageException (string msg)
 
 UsageException (string msg, Color color)
 

Detailed Description

Definition at line 51 of file ModCommand.cs.

Constructor & Destructor Documentation

◆ UsageException() [1/3]

Terraria.ModLoader.UsageException.UsageException ( )

Definition at line 56 of file ModCommand.cs.

56 { }

◆ UsageException() [2/3]

Terraria.ModLoader.UsageException.UsageException ( string  msg)

Definition at line 58 of file ModCommand.cs.

58  {
59  this.msg = msg;
60  }

◆ UsageException() [3/3]

Terraria.ModLoader.UsageException.UsageException ( string  msg,
Color  color 
)

Definition at line 62 of file ModCommand.cs.

References Terraria.ModLoader.Console.

62  {
63  this.msg = msg;
64  this.color = color;
65  }