mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 01:47:30 +09:00
Move enum to response class
This commit is contained in:
parent
3d551b08a9
commit
0985b1679f
@ -10,7 +10,6 @@ using osu.Framework.Allocation;
|
|||||||
using osu.Framework.Graphics.Shapes;
|
using osu.Framework.Graphics.Shapes;
|
||||||
using osu.Framework.Graphics;
|
using osu.Framework.Graphics;
|
||||||
using osu.Game.Online.API.Requests.Responses;
|
using osu.Game.Online.API.Requests.Responses;
|
||||||
using osu.Game.Online.API.Requests;
|
|
||||||
using osu.Framework.Extensions.IEnumerableExtensions;
|
using osu.Framework.Extensions.IEnumerableExtensions;
|
||||||
|
|
||||||
namespace osu.Game.Tests.Visual.Online
|
namespace osu.Game.Tests.Visual.Online
|
||||||
|
@ -18,19 +18,4 @@ namespace osu.Game.Online.API.Requests
|
|||||||
|
|
||||||
protected override string Target => $"users/{userId}/kudosu";
|
protected override string Target => $"users/{userId}/kudosu";
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum KudosuAction
|
|
||||||
{
|
|
||||||
AllowKudosuGive,
|
|
||||||
DeleteReset,
|
|
||||||
DenyKudosuReset,
|
|
||||||
ForumGive,
|
|
||||||
ForumReset,
|
|
||||||
ForumRevoke,
|
|
||||||
RecalculateGive,
|
|
||||||
RecalculateReset,
|
|
||||||
RestoreGive,
|
|
||||||
VoteGive,
|
|
||||||
VoteReset,
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -53,4 +53,19 @@ namespace osu.Game.Online.API.Requests.Responses
|
|||||||
|
|
||||||
public KudosuAction Action;
|
public KudosuAction Action;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public enum KudosuAction
|
||||||
|
{
|
||||||
|
AllowKudosuGive,
|
||||||
|
DeleteReset,
|
||||||
|
DenyKudosuReset,
|
||||||
|
ForumGive,
|
||||||
|
ForumReset,
|
||||||
|
ForumRevoke,
|
||||||
|
RecalculateGive,
|
||||||
|
RecalculateReset,
|
||||||
|
RestoreGive,
|
||||||
|
VoteGive,
|
||||||
|
VoteReset,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,6 @@ using osu.Framework.Graphics.Containers;
|
|||||||
using osu.Game.Graphics;
|
using osu.Game.Graphics;
|
||||||
using osu.Game.Graphics.Containers;
|
using osu.Game.Graphics.Containers;
|
||||||
using osu.Game.Online.API.Requests.Responses;
|
using osu.Game.Online.API.Requests.Responses;
|
||||||
using osu.Game.Online.API.Requests;
|
|
||||||
using osu.Game.Online.Chat;
|
using osu.Game.Online.Chat;
|
||||||
using System;
|
using System;
|
||||||
using osuTK;
|
using osuTK;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user