Replies: 1 comment 2 replies
-
我在 EntityCallExRoleBase.cpp 文件中添加了 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
报错信息如下:
error C2653: 'EntityDef': is not a class or namespace name
生成的插件代码,是在 EntityCallExRoleBase.cpp 这个文件中, 对应的这段代码报错:
`void EntityCellEntityCall_ExRoleBase::AnimUpdate(const ANIM_INFO& arg1)
{
Bundle* pBundleRet = newCall("AnimUpdate", 0);
if(!pBundleRet)
return;
((DATATYPE_ANIM_INFO*)EntityDef::id2datatypes[29])->addToStreamEx(*pBundleRet, arg1);
sendCall(NULL);
}`
这段代码在我给实体新增了一些属性和方法后, 重新生成插件编译就会报错, 请问,是我实体定义的问题吗?
Beta Was this translation helpful? Give feedback.
All reactions