(cls, *patterns)
| 331 | |
| 332 | @classmethod |
| 333 | def exportPatterns(cls, *patterns): |
| 334 | out = "# Exported from pyfa\n#\n" |
| 335 | out += "# Values are in following format:\n" |
| 336 | out += "# DamageProfile = [name],[EM amount],[Thermal amount],[Kinetic amount],[Explosive amount]\n\n" |
| 337 | for dp in patterns: |
| 338 | out += cls.EXPORT_FORMAT % (dp.rawName, dp.emAmount, dp.thermalAmount, dp.kineticAmount, dp.explosiveAmount) |
| 339 | |
| 340 | return out.strip() |
| 341 | |
| 342 | @property |
| 343 | def name(self): |
nothing calls this directly
no outgoing calls
no test coverage detected