Skip to content

Commit

Permalink
fix[event]typo register
Browse files Browse the repository at this point in the history
  • Loading branch information
汉广 committed Jun 28, 2023
1 parent 04a6e6c commit 7d829ed
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from ..dep import *


@EventRegister.rister(action=2003)
@EventRegister.register(action=2003)
class ClientUpdateRecEvent(RecvEvent):
"""更新推送事件"""

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from ..dep import *


@EventRegister.rister(action=10002)
@EventRegister.register(action=10002)
class DisSubscribeEvent(RecvEvent):
"""取消订阅回执"""

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from ..dep import *


@EventRegister.rister(action=1006)
@EventRegister.register(action=1006)
class FireworksEvent(RecvEvent):
"""烟花播报事件"""

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from ..dep import *


@EventRegister.rister(action=1005)
@EventRegister.register(action=1005)
class FuyaoNamedEvent(RecvEvent):
"""扶摇点名事件"""

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from ..dep import *


@EventRegister.rister(action=1004)
@EventRegister.register(action=1004)
class FuyaoRefreshEvent(RecvEvent):

__event__ = "WsRecv.FuyaoRefresh"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from ..dep import *


@EventRegister.rister(action=1008)
@EventRegister.register(action=1008)
class GameSysMsgEvent(RecvEvent):
"""游戏系统频道消息推送"""

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from ..dep import *


@EventRegister.rister(action=1003)
@EventRegister.register(action=1003)
class HorseCatchedEvent(RecvEvent):
"""马驹捕获事件"""

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from ..dep import *


@EventRegister.rister(action=1002)
@EventRegister.register(action=1002)
class HorseRefreshEvent(RecvEvent):
"""马驹刷新事件"""

Expand Down
2 changes: 1 addition & 1 deletion src/tools/dep/jx3/jx3apiws/jx3_event/events/NewsEvent.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from ..dep import *


@EventRegister.rister(action=2002)
@EventRegister.register(action=2002)
class NewsRecvEvent(RecvEvent):
"""新闻推送事件"""

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from ..dep import *


@EventRegister.rister(action=1001)
@EventRegister.register(action=1001)
class SerendipityEvent(RecvEvent):
"""奇遇播报事件"""

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from ..dep import *


@EventRegister.rister(action=2001)
@EventRegister.register(action=2001)
class ServerStatusEvent(RecvEvent):
"""服务器状态推送事件"""

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from ..dep import *


@EventRegister.rister(action=2004)
@EventRegister.register(action=2004)
class SpillTheTeaEvent(RecvEvent):
"""818推送事件"""

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from ..dep import *


@EventRegister.rister(action=10001)
@EventRegister.register(action=10001)
class SubscribeEvent(RecvEvent):
"""订阅回执"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from sgtpyutils.logger import logger


@EventRegister.rister(action=1007)
@EventRegister.register(action=1007)
class XuanJingEvent(RecvEvent):
"""玄晶获取事件"""

Expand Down

0 comments on commit 7d829ed

Please sign in to comment.