Пример #1
0
        public GuildMemberDTO(GuildMember g)
        {
            InGameName = g.InGameName;

            Events_Joined = g.Events_Joined;
            if (g.LastActive == null)
            {
                LastActive = 0;
            }
            else
            {
                LastActive = g.LastActive.Ticks;
            }

            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     = g.JoinDate.Ticks;
        }