public GuildMember(Database.Records.CharacterRecord character, Guild guild) { this.OwnGuild = guild; this.Character = character; this.ID = character.ID; this.Rank = (GuildRank)character.GuildRank; character.GuildRights.Split(',').ToList().FindAll(x => x != "").ForEach(x => this.Rights.Add(int.Parse(x))); this.CharacterName = character.Nickname; this.SetOffline(); }
public GuildMember(Network.WorldClient client, Guild guild) { this.OwnGuild = guild; this.SetOnline(client); }