Пример #1
0
 public GuildMember(GuildMemberDTO g)
 {
     InGameName    = g.InGameName;
     Events_Joined = g.Events_Joined;
     LastActive    = new DateTime(g.LastActive);
     Guild_Rank    = g.Guild_Rank;
     DD_Rank       = g.DD_Rank;
     Healer_Rank   = g.Healer_Rank;
     Tank_Rank     = g.Tank_Rank;
     Discord_ID    = g.Discord_ID;
     Discord_Name  = g.Discord_Name;
     JoinDate      = new DateTime(g.JoinDate);
 }
Пример #2
0
 public async Task UpdateGuildMember(GuildMemberDTO g)
 {
     await Guild_Members.Document(g.InGameName).SetAsync(g);
 }