public Letter(Author a, string subject, string message = null, LetterAttachment attachment = null) { Id = KeyBuilder.Generate(12); Author = a; Subject = subject; Message = message; Attachment = attachment; Date = DateTime.UtcNow; Read = false; Recipients = new List <MailRecipient>(); }
public Letter() { Id = KeyBuilder.Generate(12); // 12 char keybuilder. Recipients = null; Author = null; Forwarder = null; Thread = null; Read = false; Locked = false; Marked = false; Attachment = null; Date = DateTime.UtcNow; }
public CaptchaBuilder() { Key = KeyBuilder.Generate(); Captcha = CaptchaEngine.Generate(Key); }
public WerewolfBase(List <IGamePlayer> players) { GameId = KeyBuilder.Generate(); Players = players; }