Scripts/Commands: Convert rbac commands to new system

Port From (https://github.com/TrinityCore/TrinityCore/commit/b3b6e2715eb2a75805b7d879a1bef1074c085143)
This commit is contained in:
hondacrx
2022-06-10 00:47:07 -04:00
parent ceb7ddbe1f
commit 864c857141
3 changed files with 119 additions and 174 deletions
+2 -1
View File
@@ -233,7 +233,8 @@ namespace Game.Chat
public uint GetID() { return _id; }
public string GetName() { return _name; }
public WorldSession GetSession() { return _session; }
public bool IsConnected() { return _session != null; }
public WorldSession GetConnectedSession() { return _session; }
public static AccountIdentifier ParseFromString(string arg)
{