| 1 | #include "Project/Action/ActionFunction.h" |
|---|---|
| 2 | |
| 3 | #include "Project/Action/ActionAnimCtrl.h" |
| 4 | #include "Project/Action/ActionAnimInfo.h" |
| 5 | |
| 6 | namespace alActionFunction { |
| 7 | const char* getAnimName(const al::ActionAnimCtrlInfo* infoCtrl, |
| 8 | const al::ActionAnimDataInfo* infoData) { |
| 9 | const char* animName = infoData->actionName; |
| 10 | if (animName == nullptr) |
| 11 | animName = infoCtrl->actionName; |
| 12 | return animName; |
| 13 | } |
| 14 | } // namespace alActionFunction |
| 15 |