mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-26 07:29:00 -07:00
Radicade Public Code
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
using RadicadeServer.RecNet.Leveling;
|
||||
using RadicadeServer.RecNet.Progression;
|
||||
using RadicadeServer.Utils;
|
||||
|
||||
namespace RadicadeServer.RecNet.Responses
|
||||
{
|
||||
public class ProgressionResponse
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public long PlayerId { get; set; }
|
||||
public int Level { get; set; }
|
||||
public int XP { get; set; }
|
||||
|
||||
public ProgressionResponse() {}
|
||||
public ProgressionResponse(ProgressionData data) {
|
||||
this.Id = data.PlayerId;
|
||||
this.PlayerId = data.PlayerId;
|
||||
this.Level = LevelUpGiftService.DisplayLevel(data.Level);
|
||||
this.XP = LevelUpGiftService.XpIntoCurrentLevel(data);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user