Magithos Docs
Global Event System
Typed global events with Blueprint and C++ listeners.
Overview
Typed global events with Blueprint and C++ listeners.
Project Docs
8因为蓝图中使用EventTag这个属性来为EventSystem提供支持,所以这里的介绍顺序为 EventTag→EventSystem
Global Event System V3.4要在你的代码模块中使用他们,你首先需要做的是启用插件,并在你的.Build.cs文件中添加 “EventTag”, “EventSystem”
Global Event System V3.4EventTag的参数是一个数组类型,为了完全支持蓝图,需要定义参数的具体类型。数组的数据类型为一个共享指针,所以使用基本的共享指针类型来定义即可,你所需要关注的是参数的问题。
Using in C++需要引入的头文件为:#include \"System/GlobalEventSystem.h\"
Using in C++在系统中,新增了几个单独的接口,用于Client将消息发送给服务器的处理。
Global Event System V3.4Project
Loading…

