forked from PGR/ascnet
multi clearing reward handling
This commit is contained in:
parent
6d226c5fca
commit
5824edbf4f
|
@ -0,0 +1,19 @@
|
|||
using AscNet.Common.MsgPack;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AscNet.GameServer.Game
|
||||
{
|
||||
public class Fight
|
||||
{
|
||||
public PreFightRequest PreFight { get; set; }
|
||||
|
||||
public Fight(PreFightRequest preFight)
|
||||
{
|
||||
PreFight = preFight;
|
||||
}
|
||||
}
|
||||
}
|
File diff suppressed because one or more lines are too long
|
@ -3,6 +3,7 @@ using System.Net.Sockets;
|
|||
using AscNet.Common;
|
||||
using AscNet.Common.Database;
|
||||
using AscNet.Common.Util;
|
||||
using AscNet.GameServer.Game;
|
||||
using AscNet.Logging;
|
||||
using MessagePack;
|
||||
using Newtonsoft.Json;
|
||||
|
@ -17,6 +18,7 @@ namespace AscNet.GameServer
|
|||
public Player player = default!;
|
||||
public Character character = default!;
|
||||
public Stage stage = default!;
|
||||
public Fight? fight;
|
||||
public Inventory inventory = default!;
|
||||
public readonly Logger log;
|
||||
private long lastPacketTime = DateTimeOffset.UtcNow.ToUnixTimeMilliseconds();
|
||||
|
|
Loading…
Reference in New Issue