Radicade Public Code

This commit is contained in:
JogmansonReal
2026-10-16 23:33:13 -07:00
commit 55175acdf6
832 changed files with 363261 additions and 0 deletions
@@ -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);
}
}
}