ForceMinimapVisibility on GameServerConfig.cs
This commit is contained in:
parent
fc360945e5
commit
4d3272ca88
@ -546,17 +546,15 @@ namespace DiIiS_NA.GameServer.GSSystem.MapSystem
|
|||||||
MiniMapVisibility = true
|
MiniMapVisibility = true
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
else
|
|
||||||
|
return new MapRevealSceneMessage
|
||||||
{
|
{
|
||||||
return new MapRevealSceneMessage
|
ChunkID = GlobalID,
|
||||||
{
|
SceneSNO = SceneSNO.Id,
|
||||||
ChunkID = GlobalID,
|
Transform = Transform,
|
||||||
SceneSNO = SceneSNO.Id,
|
WorldID = World.GlobalID,
|
||||||
Transform = Transform,
|
MiniMapVisibility = GameServerConfig.Instance.ForceMinimapVisibility
|
||||||
WorldID = World.GlobalID,
|
};
|
||||||
MiniMapVisibility = false
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
@ -298,6 +298,12 @@ namespace DiIiS_NA.GameServer
|
|||||||
set => Set(nameof(NephalemRiftOrbsChance), value);
|
set => Set(nameof(NephalemRiftOrbsChance), value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public bool ForceMinimapVisibility
|
||||||
|
{
|
||||||
|
get => GetBoolean(nameof(ForceMinimapVisibility), false);
|
||||||
|
set => Set(nameof(ForceMinimapVisibility), value);
|
||||||
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
public static GameServerConfig Instance { get; } = new();
|
public static GameServerConfig Instance { get; } = new();
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
user.block.title