mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-08-01 07:16:19 +02:00
Implementing zone settings from DB.
This commit is contained in:
parent
9d67718060
commit
0e85e2bddf
3 changed files with 58 additions and 3 deletions
|
@ -25,7 +25,8 @@ namespace FFXIVClassic_Map_Server
|
|||
private int halfWidth, halfHeight;
|
||||
private List<Actor>[,] actorBlock;
|
||||
|
||||
public Zone(uint id, string zoneName, ushort regionId, bool canStealth, bool isInn, bool canRideChocobo, bool isInstanceRaid) : base(id)
|
||||
public Zone(uint id, string zoneName, ushort regionId, ushort bgmDay, ushort bgmNight, ushort bgmBattle, bool canStealth, bool isInn, bool canRideChocobo, bool isInstanceRaid)
|
||||
: base(id)
|
||||
{
|
||||
|
||||
this.zoneName = zoneName;
|
||||
|
@ -35,6 +36,10 @@ namespace FFXIVClassic_Map_Server
|
|||
this.canRideChocobo = canRideChocobo;
|
||||
this.isInstanceRaid = isInstanceRaid;
|
||||
|
||||
this.bgmDay = bgmDay;
|
||||
this.bgmNight = bgmNight;
|
||||
this.bgmBattle = bgmBattle;
|
||||
|
||||
this.displayNameId = 0;
|
||||
this.customDisplayName = "_areaMaster";
|
||||
this.actorName = String.Format("_areaMaster@{0:X5}",id<<8);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue