(forceClear ...bool)
| 148 | } |
| 149 | |
| 150 | func PruneVMs(forceClear ...bool) { |
| 151 | |
| 152 | if len(forceClear) > 0 && forceClear[0] { |
| 153 | ClearRoomVMs() |
| 154 | ClearMobVMs() |
| 155 | ClearBuffVMs() |
| 156 | ClearItemVMs() |
| 157 | ClearPetVMs() |
| 158 | ClearSpellVMs() |
| 159 | } else { |
| 160 | PruneRoomVMs() |
| 161 | PruneMobVMs() |
| 162 | PruneBuffVMs() |
| 163 | PruneItemVMs() |
| 164 | PruneSpellVMs() |
| 165 | } |
| 166 | |
| 167 | } |
no test coverage detected