Skip to content

Commit

Permalink
Remove usage of ECSGameTimer in IPacketHandlers
Browse files Browse the repository at this point in the history
Should no longer be needed now that inbound packets are processed by `ClientService`
  • Loading branch information
bm01 committed Nov 6, 2024
1 parent 737624f commit bd32a22
Show file tree
Hide file tree
Showing 21 changed files with 1,497 additions and 2,454 deletions.
2 changes: 1 addition & 1 deletion GameServer/ECS-Services/TimerService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public PropertyCollection Properties
{
if (_properties == null)
{
PropertyCollection properties = new PropertyCollection();
PropertyCollection properties = new();
Thread.MemoryBarrier();
_properties = properties;
}
Expand Down
4 changes: 2 additions & 2 deletions GameServer/commands/gmcommands/GMinfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ public void OnCommand(GameClient client, string[] args)
info.Add( " + Guild : " + target.GuildName );
info.Add( " + Health : " + target.Health +" / "+ target.MaxHealth);
info.Add(" + Statut : " + statut);
info.Add(" + Type : " + DoorRequestHandler.m_handlerDoorID / 100000000);
info.Add(" + Type : " + DoorRequestHandler.HandlerDoorId / 100000000);
info.Add(" ");
info.Add(" + X : " + target.X);
info.Add(" + Y : " + target.Y);
Expand Down Expand Up @@ -606,7 +606,7 @@ public void OnCommand(GameClient client, string[] args)
info.Add(" + Guild : " + target.GuildName);
info.Add(" + Health : " + target.Health + " / " + target.MaxHealth);
info.Add(" + Statut : " + statut);
info.Add(" + Type : " + DoorRequestHandler.m_handlerDoorID / 100000000);
info.Add(" + Type : " + DoorRequestHandler.HandlerDoorId / 100000000);
info.Add(" ");
info.Add(" + X : " + target.X);
info.Add(" + Y : " + target.Y);
Expand Down
2 changes: 1 addition & 1 deletion GameServer/commands/gmcommands/door.cs
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ private void info(GameClient client, GameDoor targetDoor)
if (targetDoor.Locked == 0)
statut = " Unlocked";

int doorType = DoorRequestHandler.m_handlerDoorID/100000000;
int doorType = DoorRequestHandler.HandlerDoorId / 100000000;

var info = new List<string>();

Expand Down
Loading

0 comments on commit bd32a22

Please sign in to comment.