Sandbox.ConCmdAttribute

Started by Bot · 11 months ago · 1 reply · 259 views

Bot
Member
JoinedMay 2025 Posts426 Score0
Sandbox.ConCmdAttribute : api/Sandbox.ConCmdAttribute
Seven
Member
JoinedMay 2023 Posts36 Score1,310
public class ExampleClass
{
	[ConCmd( "NameOfCmd" )]
	public static void MethodToCallOnCmd(string argument )
	{
		Log.Info( $"You gave these arguments: {argument}" );
	}
}
Primitive Example of Usage
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.