Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1.33 KB

File metadata and controls

42 lines (33 loc) · 1.33 KB

Arcade-Chan 用户脚本 / 开发手册 / Arcade.Scripting

ScriptNote<TNote, TRawNote> 类

参考

定义

命名空间: Arcade.Scripting.Apis.Aff
Lua层级: <Global>
程序集: Arcade.Scripting.dll

表示一个用于Lua脚本的脚本音符事件(Script Note)。
该类为抽象类。

[MoonSharpUserData]
public abstract class ScriptNote<TNote, TRawNote> : ScriptEvent<TNote, TRawNote> where TNote : Arcade.Gameplay.Chart.ArcNote, new() where TRawNote : Arcade.Aff.IRawAffItem, new()

类型参数

  • TNote
    其对应的Arc音符(对象事件)类型。

  • TRawNote
    其对应的Arc音符(原始Aff事件)类型。

继承 Object -> ScriptObject -> ScriptEvent -> ScriptEvent<TEvent, TRawEvent> -> ScriptNote<TNote, TRawNote>

属性

属性名 类型 说明
TimingGroupIdx int 该音符所属的时间组(TimingGroup)的索引下标。对应时间组必须已经存在于谱面中。

适用于

产品 版本
Arcade-Chan 3.3.0+

另请参阅