Upload files to "routes/API"
This commit is contained in:
31
routes/API/Challenge.cs
Normal file
31
routes/API/Challenge.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
namespace Stella.Routes.API
|
||||
{
|
||||
public class Challenge
|
||||
{
|
||||
[ServerAPI.GET("/api/challenge/v2/getCurrent")]
|
||||
[ServerAPI.UseAuthorization]
|
||||
public dynamic ReturnGetCurrentChallenges()
|
||||
{
|
||||
return new
|
||||
{
|
||||
ChallengeMapId = 0,
|
||||
StartAt = "2022-12-27T21:27:38.188Z",
|
||||
EndAt = "2028-12-27T21:27:38.188Z",
|
||||
ServerTime = DateTime.UtcNow,
|
||||
Challenges = Array.Empty<object>(),
|
||||
Gift = new
|
||||
{
|
||||
EquipmentModificationGuid = "bc4254be-60e0-4cc5-a233-6a0bd4137118",
|
||||
UnlockedLevel = 0,
|
||||
Favorited = true,
|
||||
GiftDropId = 1,
|
||||
AvatarItemDesc = "",
|
||||
Xp = 2,
|
||||
Level = 0,
|
||||
EquipmentPrefabName = "[PaintballGun]"
|
||||
},
|
||||
ChallengeThemeString = "PaintballGun"
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user