Core/World: implement database support for default map and realm wide world states
Port From (https://github.com/TrinityCore/TrinityCore/commit/737d94d7efe0b6c308ac1bf3692b6aa2e43f5adb)
This commit is contained in:
@@ -48,6 +48,11 @@ namespace Game.Networking.Packets
|
||||
Worldstates.Add(new WorldStateInfo(variableID, (int)value));
|
||||
}
|
||||
|
||||
public void AddState(int variableID, int value)
|
||||
{
|
||||
Worldstates.Add(new WorldStateInfo((uint)variableID, value));
|
||||
}
|
||||
|
||||
public void AddState(WorldStates variableID, bool value)
|
||||
{
|
||||
AddState((uint)variableID, value);
|
||||
|
||||
Reference in New Issue
Block a user