Solaestas / Everglow

GNU General Public License v3.0
27 stars 4 forks source link

Common/mod event #190

Closed shb201902040125 closed 1 year ago

shb201902040125 commented 1 year ago

事件基类,实现了保存,加载,激活,关闭。未实现联机同步,因为我觉得这和事件本身的性质有关,有的不需要同步。ReplicaEvent为对对原版事件的仿制。PluralEvent仅为一个特例(极度不建议使用)。Event base class, the implementation of save, load, activate, close. Online synchronization is not implemented, because I think it is related to the nature of the event itself, and some do not need to be synchronized. A ReplicaEvent is a replica of the original event. PluralEvent is only a special case (it is highly discouraged).