| 1 | #include "Library/MapObj/OneMeshFixMapParts.h" |
|---|---|
| 2 | |
| 3 | #include "Library/LiveActor/ActorInitUtil.h" |
| 4 | #include "Library/Placement/PlacementFunction.h" |
| 5 | |
| 6 | namespace al { |
| 7 | OneMeshFixMapParts::OneMeshFixMapParts(const char* name) : FixMapParts(name) {} |
| 8 | |
| 9 | void OneMeshFixMapParts::init(const ActorInitInfo& info) { |
| 10 | const char* mapPartsName = nullptr; |
| 11 | getStringArg(arg: &mapPartsName, initInfo: info, key: "MapPartsName"); |
| 12 | initMapPartsActorWithArchiveName(actor: this, initInfo: info, fileName: mapPartsName, suffix: nullptr); |
| 13 | trySyncStageSwitchAppearAndKill(actor: this); |
| 14 | } |
| 15 | } // namespace al |
| 16 |