public void VariableChanged(int index, VariableValue value) { var variable = _variables.GetVariableName(index); foreach (var zone in WorldManager.Instance.LoadedZones) { zone.VariableChanged(WorldListenerSource.Player, variable); } }
public void VariableChanged(int index, VariableValue value) { var variable = _variables.GetVariableName(index); foreach (var zone in LoadedZones) { zone.VariableChanged(WorldListenerSource.World, variable); } }
public void VariableChanged(int index, VariableValue value) { var variable = _variables.GetVariableName(index); VariableChanged(WorldListenerSource.Zone, variable); }