コード例 #1
0
 public AH_IgnoreList(AH_IIgnoreListActions exclusionActions, List <string> Ignored, string playerPrefKey)
 {
     this.exclusionActions = exclusionActions;
     this.exclusionActions.IgnoredAddedEvent += onAddedToignoredList;
     this.playerPrefKey  = playerPrefKey;
     this.DefaultIgnored = new List <string>(Ignored);
 }
コード例 #2
0
 //Call base constructor but convert the types into serializable values
 public AH_ExclusionTypeList(AH_IIgnoreListActions exclusionAction, List <Type> Ignored, string playerPrefsKey) : base(exclusionAction, Ignored.ConvertAll <string>(val => Heureka_Serializer.SerializeType(val)), playerPrefsKey)
 {
 }