Skip to content

Commit 4d02dbb

Browse files
committed
fix: 修复部分错误的/缺失的事件继承关系
1 parent f2765f1 commit 4d02dbb

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

simbot-component-onebot-v11/simbot-component-onebot-v11-core/api/simbot-component-onebot-v11-core.api

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2490,11 +2490,11 @@ public abstract interface class love/forte/simbot/component/onebot/v11/core/even
24902490
public abstract fun getContent ()Llove/forte/simbot/ability/SendSupport;
24912491
}
24922492

2493-
public abstract interface class love/forte/simbot/component/onebot/v11/core/event/messageinteraction/OneBotSendSupportPostSendEvent : love/forte/simbot/component/onebot/v11/core/event/messageinteraction/OneBotInternalMessagePostSendEvent, love/forte/simbot/component/onebot/v11/core/event/messageinteraction/OneBotSendSupportInteractionEvent {
2493+
public abstract interface class love/forte/simbot/component/onebot/v11/core/event/messageinteraction/OneBotSendSupportPostSendEvent : love/forte/simbot/component/onebot/v11/core/event/messageinteraction/OneBotInternalMessagePostSendEvent, love/forte/simbot/component/onebot/v11/core/event/messageinteraction/OneBotSendSupportInteractionEvent, love/forte/simbot/event/SendSupportPostSendEvent {
24942494
public abstract fun getMessage ()Llove/forte/simbot/component/onebot/v11/core/event/messageinteraction/OneBotSegmentsInteractionMessage;
24952495
}
24962496

2497-
public abstract interface class love/forte/simbot/component/onebot/v11/core/event/messageinteraction/OneBotSendSupportPreSendEvent : love/forte/simbot/component/onebot/v11/core/event/messageinteraction/OneBotInternalMessagePreSendEvent, love/forte/simbot/component/onebot/v11/core/event/messageinteraction/OneBotSendSupportInteractionEvent {
2497+
public abstract interface class love/forte/simbot/component/onebot/v11/core/event/messageinteraction/OneBotSendSupportPreSendEvent : love/forte/simbot/component/onebot/v11/core/event/messageinteraction/OneBotInternalMessagePreSendEvent, love/forte/simbot/component/onebot/v11/core/event/messageinteraction/OneBotSendSupportInteractionEvent, love/forte/simbot/event/SendSupportPreSendEvent {
24982498
}
24992499

25002500
public abstract interface class love/forte/simbot/component/onebot/v11/core/event/meta/OneBotHeartbeatEvent : love/forte/simbot/component/onebot/v11/core/event/meta/OneBotMetaEvent {

simbot-component-onebot-v11/simbot-component-onebot-v11-core/src/commonMain/kotlin/love/forte/simbot/component/onebot/v11/core/event/messageinteraction/OneBotSendSupportInteractionEvent.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@ public interface OneBotSendSupportInteractionEvent :
5252
* @author ForteScarlet
5353
*/
5454
@SubclassOptInRequired(FuzzyEventTypeImplementation::class)
55-
public interface OneBotSendSupportPreSendEvent : OneBotInternalMessagePreSendEvent, OneBotSendSupportInteractionEvent
55+
public interface OneBotSendSupportPreSendEvent :
56+
SendSupportPreSendEvent,
57+
OneBotInternalMessagePreSendEvent,
58+
OneBotSendSupportInteractionEvent
5659

5760
/**
5861
* OneBot组件中针对 [SendSupport.send] 的通知事件。
@@ -63,6 +66,7 @@ public interface OneBotSendSupportPreSendEvent : OneBotInternalMessagePreSendEve
6366
*/
6467
@SubclassOptInRequired(FuzzyEventTypeImplementation::class)
6568
public interface OneBotSendSupportPostSendEvent :
69+
SendSupportPostSendEvent,
6670
OneBotInternalMessagePostSendEvent,
6771
OneBotSendSupportInteractionEvent {
6872
override val message: OneBotSegmentsInteractionMessage

0 commit comments

Comments
 (0)