public bool HasPlayerRestriction(PlayerRestrictionEnum restriction) { return (Restriction & (int)restriction) == (int)restriction; }