예제 #1
0
    private static List <Effect> EffectsOfID(List <Effect> parentList, EffectIDEnum effectID)
    {
        List <Effect> subList = new List <Effect>();

        foreach (Effect e in parentList)
        {
            if (e.metaInfo.EffectID == effectID)
            {
                subList.Add(e);
            }
        }

        return(subList);
    }
예제 #2
0
 public EffectMetaInfo(string castorID, EffectIDEnum effectID)
 {
     this.castorID = castorID;
     this.effectID = effectID;
 }