mirror of
https://git.lewd.wtf/PGR/ascnet
synced 2025-12-14 09:54:36 +01:00
items db + default items
This commit is contained in:
@@ -17,6 +17,7 @@ namespace AscNet.GameServer
|
||||
public Player player = default!;
|
||||
public Character character = default!;
|
||||
public Stage stage = default!;
|
||||
public Inventory inventory = default!;
|
||||
public readonly Logger log;
|
||||
private long lastPacketTime = DateTimeOffset.UtcNow.ToUnixTimeMilliseconds();
|
||||
private ushort packetNo = 0;
|
||||
@@ -222,6 +223,7 @@ namespace AscNet.GameServer
|
||||
player?.Save();
|
||||
character?.Save();
|
||||
stage?.Save();
|
||||
inventory?.Save();
|
||||
|
||||
log.Warn($"{id} disconnected");
|
||||
client.Close();
|
||||
|
||||
Reference in New Issue
Block a user