mirror of
https://github.com/Ahrimdon/detailed-cod-tracker.git
synced 2025-03-29 07:18:30 -04:00
34 lines
767 B
C#
34 lines
767 B
C#
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
|
|
}
|
|
}
|