This repository has been archived on 2026-10-31. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

40 lines
1.7 KiB
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package methods
//
// 剧情 / 刺激事件(PlotEvent)契约(2026-10-02 自 7k-v0.6 捐赠端
// Drmk.RpcTypes/Client4229938/Methods/GameScene/PlotEventMethods.cs 逐字搬运)。
// <para>⛑ 目标方法:AskPreparePlotEvent(67966346)、AskTriggerPlotEvent(67895788)、
// AskEndPreparePlotEvent(67025961)、SyncPlotCurrentEvent(68775719)。
// 全部是 Notify(客户端上报,不需要回包)。</para>
// <para>★ 线格式(与捐赠端一致,逐字段核对过):</para>
// <list type="bullet">
// <item>PlotEventTarget = [u64 Id][f32×3 Position][u8 Type] = 21 字节,
// 两个合起来 42。</item>
// <item>AskPreparePlotEvent = 4(EventId) + 8(AgentEntityId) + 4(ResponseId) + 42 = 58</item>
// <item>AskTriggerPlotEvent = 4 + 8 + 42(StimEventParameter) + 4(ClientDmemOverrideCfgId) = 58</item>
// <item>AskEndPreparePlotEvent = 4 + 8 = 12</item>
// </list>
// StimEventParameter 与它两个 target 在客户端都是 struct,无 object 标记位
// ⇒ 全部标 [UxContract(Inline = true)]。
//
//
// S2C SyncPlotCurrentEvent(68775719)。EventId=0 表示关闭客户端当前这条刺激 / 剧情反应。
//
// ClientToGameSceneDelegate.AskPreparePlotEvent_Serializer (4229938),58 字节。
const (
AskPreparePlotEventArgs4229938_WireSize int32 = 58
)
// ClientToGameSceneDelegate.AskEndPreparePlotEvent_Serializer (4229938),12 字节。
const (
AskEndPreparePlotEventArgs4229938_WireSize int32 = 12
)
// ClientToGameSceneDelegate.AskTriggerPlotEvent_Serializer (4229938),58 字节。
const (
AskTriggerPlotEventArgs4229938_WireSize int32 = 58
)
// 刺激事件参数:两个 target(源 / 次源),都是 struct 无标记位。
// 剧情事件目标:单位 id + 坐标 + 类型,21 字节。