Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

双参数event的参数异常问题 #164

Open
abc19899 opened this issue Jun 29, 2023 · 0 comments
Open

双参数event的参数异常问题 #164

abc19899 opened this issue Jun 29, 2023 · 0 comments

Comments

@abc19899
Copy link

这个函数
BEHAVIAC_FORCEINLINE void Agent::FireEvent(const char* eventName, const ParamType1& param1, const ParamType2& param2)

在构造CVariable, 保存参数的时候, 使用了 const char *来接收 param1和param2的name

在praram2的name sprintf之后, CVariable1 中的 paramName也被修改了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant