80 lines
1.5 KiB
C#
80 lines
1.5 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace YandexQuest.Models
|
|
{
|
|
public enum Cities
|
|
{
|
|
MoscowRedRose,
|
|
MoscowCity,
|
|
MoscowSkolkovo,
|
|
|
|
SaintPetersburg,
|
|
Yekaterinburg,
|
|
Novosibirsk,
|
|
Kazan,
|
|
Innopolis,
|
|
RostovOnDon,
|
|
NizhnyNovgorod,
|
|
Simferopol,
|
|
Vladivostok,
|
|
Krasnodar,
|
|
Samara,
|
|
Chelyabinsk,
|
|
Perm,
|
|
Tula,
|
|
Sochi,
|
|
Ufa,
|
|
Krasnoyarsk,
|
|
Tumen,
|
|
Voronezh,
|
|
|
|
Minsk,
|
|
Serbia
|
|
}
|
|
|
|
public enum Games
|
|
{
|
|
Surprise,
|
|
Excursion,
|
|
MasterClass,
|
|
Entertainment,
|
|
Sport,
|
|
Kids,
|
|
GoodDeeds,
|
|
Mask,
|
|
Duck,
|
|
Butterfly
|
|
}
|
|
|
|
[Serializable]
|
|
public class CityUniqueCode
|
|
{
|
|
public string id { get; set; }
|
|
public Cities cityEnum { get; set; }
|
|
public string city { get; set; }
|
|
public int key { get; set; }
|
|
public int adminKey { get; set; }
|
|
}
|
|
|
|
[Serializable]
|
|
public class Client
|
|
{
|
|
public string id { get; set; }
|
|
public Cities city { get; set; }
|
|
public List<Games> games { get; set; }
|
|
public DateTime? gameFinishedDate { get; set; }
|
|
public bool isAdmin { get; set; }
|
|
}
|
|
|
|
[Serializable]
|
|
public class Tag
|
|
{
|
|
public string id { get; set; }
|
|
public string descrition { get; set; }
|
|
public string city { get; set; }
|
|
}
|
|
}
|