Mineplex2018-withcommit/Website/LOC.Core/Tokens/Clan/WarToken.cs

28 lines
624 B
C#
Raw Normal View History

2013-08-27 17:14:08 +02:00
namespace LOC.Core.Tokens.Clan
{
using Model.Server.PvpServer.Clan;
public class WarToken
{
public WarToken()
{
}
public WarToken(War war)
{
ClanId = war.Clan.ClanId;
ClanName = war.Clan.Name;
Dominance = war.Dominance;
Ended = war.Ended;
Cooldown = war.Cooldown;
}
public int ClanId { get; set; }
public string ClanName { get; set; }
public int Dominance { get; set; }
public bool Ended { get; set; }
public long Cooldown { get; set; }
}
}