예제 #1
0
 public static IEnumerable <ObjectDataModification> GetAllModifications(this ObjectData objectData)
 {
     return(objectData.GetAllUnitModifications().Cast <ObjectDataModification>()
            .Concat(objectData.GetAllItemModifications())
            .Concat(objectData.GetAllDestructableModifications())
            .Concat(objectData.GetAllDoodadModifications())
            .Concat(objectData.GetAllAbilityModifications())
            .Concat(objectData.GetAllBuffModifications())
            .Concat(objectData.GetAllUpgradeModifications()));
 }