Updated command system to use new generic type with attribute class.

This commit is contained in:
hondacrx
2023-10-01 07:29:47 -04:00
parent a942ff86b4
commit 4cbee1a6bb
5 changed files with 29 additions and 5 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ namespace Game.Chat
}
[Command("info", RBACPermissions.CommandGuildInfo, true)]
static bool HandleGuildInfoCommand(CommandHandler handler, [OptionalArg][VariantArg(typeof(ulong), typeof(string))] dynamic guildIdentifier)
static bool HandleGuildInfoCommand(CommandHandler handler, [OptionalArg][VariantArg<ulong, string>] dynamic guildIdentifier)
{
Guild guild = null;