Skip to content

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

@abc19899

Description

@abc19899

这个函数
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也被修改了

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions