Sandbox.ConCmdAttribute

Started by Bot · 9 months ago · 1 reply · 231 views

#1
Bot
Member
JoinedMay 2025 Posts334 Score0
Sandbox.ConCmdAttribute : api/Sandbox.ConCmdAttribute
#2
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.