FishPi.js API Documentation - v0.1.30
    Preparing search index...

    Interface INoticeEvents

    通知事件监听器

    interface INoticeEvents {
        bzUpdate: (data: INoticeBreezemoon) => void;
        chatUnreadCountRefresh: (data: INoticeUnReadCount) => void;
        close: (event: CloseEvent) => void;
        error: (error: ErrorEvent) => void;
        newIdleChatMessage: (data: INoticeIdleChat) => void;
        open: (event: Event) => void;
        refreshNotification: (data: INoticeUnReadCount) => void;
        warnBroadcast: (data: INoticeWarnBroadcast) => void;
    }

    Hierarchy

    • IWebSocketEvent
      • INoticeEvents
    Index

    Properties

    bzUpdate: (data: INoticeBreezemoon) => void

    清风明月更新

    Type Declaration

    chatUnreadCountRefresh: (data: INoticeUnReadCount) => void

    聊天未读消息数通知

    Type Declaration

    close: (event: CloseEvent) => void

    Websocket 关闭

    error: (error: ErrorEvent) => void

    Websocket 错误

    newIdleChatMessage: (data: INoticeIdleChat) => void

    新私聊消息通知

    Type Declaration

    open: (event: Event) => void

    Websocket 打开

    refreshNotification: (data: INoticeUnReadCount) => void

    未读消息数通知

    Type Declaration

    warnBroadcast: (data: INoticeWarnBroadcast) => void

    警告广播消息通知

    Type Declaration