forked from Sarah/Lieb-Website
Added Polls and locking raids if not enough users are signed up
needs testing
This commit is contained in:
parent
32af72a262
commit
ccb276a265
14 changed files with 289 additions and 8 deletions
|
@ -52,7 +52,8 @@ namespace Lieb.Models.GuildWars2.Raid
|
|||
|
||||
public ulong? RaidOwnerId { get; set; }
|
||||
|
||||
//role name, number of spots
|
||||
public int MinUsers { get; set; } = 0;
|
||||
|
||||
public ICollection<RaidRole> Roles { get; set; } = new HashSet<RaidRole>();
|
||||
|
||||
public ICollection<RaidReminder> Reminders { get; set; } = new List<RaidReminder>();
|
||||
|
@ -73,6 +74,7 @@ namespace Lieb.Models.GuildWars2.Raid
|
|||
this.MoveFlexUsers = template.MoveFlexUsers;
|
||||
this.RaidOwnerId = template.RaidOwnerId;
|
||||
this.EventType = template.EventType;
|
||||
this.MinUsers = template.MinUsers;
|
||||
|
||||
foreach (RaidRole role in template.Roles)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue