Skip to content

完成EventSession #9

@apflu

Description

@apflu

EventSession记录了和这个event的来源有关的一些信息。例如,谁触发了这个event,而这个event的主体又是谁。

通过这个复合变量,可以很轻松地得到上下文,且可以通过继承来进一步拓展。

使用时需要注意null check。

除此之外,还需要对字段进行查漏补缺。考虑一下哪些高频使用的上下文尚未被加进去的。

  • 记录并返回Alliance, trigger source, 来源事件链, 来源事件链trigger source等字段
  • 创建构造函数

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions