全局事件系统 V3.4

问题1:那么什么时候我应该使用它?

对于事件系统,它是解耦类引用的一种良好方式。该插件的设计更类似于订阅发布者模式设计。
问题1:那么什么时候我应该使用它? 我认为事件系统应该应用于各个模块之间的交互,而不是同一个模块之内。 对于此,我以我正在开发的其中几个系统的内容来举例。 伤害系统。与属性系统同样的道理,在其内部,我们不应该使用事件系统,而应该是一个子模块。但是对于伤害系统与属性系统的交互,我们可以使用事件系统来处理,比如我命中了敌人,然后造成了伤害,这时我们可以发一个通知给属性系统,告诉他,我造成了伤害,需要执行血量扣除、或者格挡扣除体力值(或其他)等等诸如此类的。 Event System 更新日志: V3.4 更新日志:
扩展监听器逻辑,将引脚Self改为Listener,并且为可连接任意Object的引脚;
更新插件文档链接。 V3.3更新日志:
1.修复事件监听器..多个事件节点重复问题;
2.更新事件系统,增加事件系统参考调试窗口。 全局事件系统V2(V3)视频:[] [] V3.2.1
修复事件监听器搜索问题... V3.2.0
添加Json工具。
添加发送消息到服务器接口。 V3.1.0
(没有被添加到Global Event System中)新增一个交互系统,这是对事件系统的一个完整的演示,它是使用C++制作的,它的一些演示Demo我正在制作中。
对Event Listener 事件节点的复制粘贴的修复。
对于通知的对象是Actor的情况下,如果在Actor中没有找到监听事件,会自动去查询它的组件,如果组件中存在该事件,则会执行组件中的事件,我想这可能是在蓝图中使用该插件的一个好消息。
增加了C++宏支持,以方便更好的在C++中使用该系统。
以及一些其他修复。。。 V3.0.0
几乎完整的支持在C++中定义EventTag,并在C++与蓝图中使用
基础数据类型
任意结构体类型(包括自定义)
Class、Object、SoftClass、SoftObject
Map 参数(需要注意的是:Key不支持设置为自定义结构体,但可以使用已经预设好的部分结构体[如GameplayTag、Key、EventTag、Vector等等],这个保留,因为大部分情况下不会出现,除非后续大家有需要在提供它)
完整的蓝图EventTag定义、修改
修复了大部分错误报告。 V2.5
支持用C++定义EventTag并在蓝图中使用
支持更多事件参数引脚
修复部分已知bug V2.2 修复打包错误,修复默认值引脚 V2.1 更新属性系统(商城审核通过后添加) ***如果只需要其中一个系统,可以在这里找到 [高级属性系统] [[全局事件系统 V2.5]() V2.0.1
修复一个潜在bug V2.0 本系统即将进入V2版本。 系统内核进行了重大更新,价格也将首次上涨! 我已经提交了引擎版本5.3和5.4的更新文件,新版本将在未来几天到达! Event System V2 描述:
自定义属性标签和事件标签的属性扩展,两者类似于游戏标签并实现基于事件标签的事件系统(用于解构)。
使用蓝图的事件调度程序将不可避免地引用事件委托源对象类并添加蓝图文件引用。 这个消息事件系统会释放这个引用,达到解耦的目的 特别提醒:V2版本是新的EventTag系统,将支持引擎版本5.3及以上。 老系统仅支持5.2版本 ***Event System ***V2 Features:
Event System: used for program decoupling
Customized EventTag (similar to GameplayTag), supports dynamic binding of event parameters
Dynamically manage EventTag parameter list, supports arbitrary modification of parameter list
Manage EventTag through data table
Event notification and event listener
Customized event listener (based on custom events, supports network replication)
Customized AttributeTag (similar to GameplayTag) ***Event System ***V2 Code Modules:
EventSystem
EventTags
EventTagsEditor
AttributeTags
AttributeTagsEditor ***Event System ***V1 Features:
for program decoupling
Custom listening event node (supports network replication)
Custom attribute labels/custom message labels
Custom message tags can create any number of parameters for notifications and listeners
Customized message monitoring and message notification interfaces can be easily connected to projects
Customize message listening events to make event monitoring more flexible
Custom attribute labels are available for data tables ***Event System ***V1 Code Modules:
Attribute extension: Custom attribute labels/custom message labels use a combination of category + name + comment
AttributeExtensionEditor: Custom attribute editor module for custom attribute Tags
AttributeMessageEventSystem: A global message notification system derived from attribute Tag. Message monitoring and notification can be implemented through C++/Blueprint (node or event), and the parameter list can be customized.
AttributeExtensionDeveloper: Node editor customized for global message notification system

评论区

当前页面没有目录

文章目录

当前页面没有目录