-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Types.cs
33 lines (30 loc) · 767 Bytes
/
Types.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System.Runtime.Serialization;
namespace CSharp_CODAPI
{
public class generics
{
public const string STEAM_UNSUPPORTED = "Steam platform not supported by this game. Try `battle` instead.";
}
public class BaseAPIResponse
{
public string? status { get; set; }
public object? data { get; set; }
}
public enum Platforms : int
{
[EnumMember(Value = "all")]
All,
[EnumMember(Value = "acti")]
Activision,
[EnumMember(Value = "battle")]
Battlenet,
[EnumMember(Value = "psn")]
PSN,
[EnumMember(Value = "steam")]
Steam,
[EnumMember(Value = "uno")]
Uno,
[EnumMember(Value = "xbl")]
XBOX
}
}