class ink
VideoWidget
ink.VideoWidget
- 4 properties
- 20 functions
Extends ink.LeafWidget ink.Widget IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
loop | bool | 0x272 | |
overriddenPlayerName | CName | 0x260 | |
isParallaxEnabled | bool | 0x270 | |
prefetchVideo | bool | 0x27A |
Functions
void SetVideoPath(red.ResourceReferenceScriptToken videoPath)RTTIre.Hooks.PlaceVoid( "inkVideoWidget", "SetVideoPath", (VideoWidget_SetVideoPath x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VideoWidget_SetVideoPath( ink.VideoWidget self, red.ResourceReferenceScriptToken videoPath );void ForceVideoFrameRate(bool forceVideoFrameRate)RTTIre.Hooks.PlaceVoid( "inkVideoWidget", "ForceVideoFrameRate", (VideoWidget_ForceVideoFrameRate x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VideoWidget_ForceVideoFrameRate( ink.VideoWidget self, bool forceVideoFrameRate );void Play()RTTIre.Hooks.PlaceVoid( "inkVideoWidget", "Play", (VideoWidget_Play x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VideoWidget_Play( ink.VideoWidget self );void Stop()RTTIre.Hooks.PlaceVoid( "inkVideoWidget", "Stop", (VideoWidget_Stop x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VideoWidget_Stop( ink.VideoWidget self );void StopInstance()RTTIre.Hooks.PlaceVoid( "inkVideoWidget", "StopInstance", (VideoWidget_StopInstance x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VideoWidget_StopInstance( ink.VideoWidget self );void Pause()RTTIre.Hooks.PlaceVoid( "inkVideoWidget", "Pause", (VideoWidget_Pause x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VideoWidget_Pause( ink.VideoWidget self );void Resume()RTTIre.Hooks.PlaceVoid( "inkVideoWidget", "Resume", (VideoWidget_Resume x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VideoWidget_Resume( ink.VideoWidget self );void SkipFrames(int numberOfFrames)RTTIre.Hooks.PlaceVoid( "inkVideoWidget", "SkipFrames", (VideoWidget_SkipFrames x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VideoWidget_SkipFrames( ink.VideoWidget self, int numberOfFrames );void FastForwardTo(uint numberOfFrames)RTTIre.Hooks.PlaceVoid( "inkVideoWidget", "FastForwardTo", (VideoWidget_FastForwardTo x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VideoWidget_FastForwardTo( ink.VideoWidget self, uint numberOfFrames );void RewindTo(uint numberOfFrames)RTTIre.Hooks.PlaceVoid( "inkVideoWidget", "RewindTo", (VideoWidget_RewindTo x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VideoWidget_RewindTo( ink.VideoWidget self, uint numberOfFrames );void JumpToFrame(uint frameNumber)RTTIre.Hooks.PlaceVoid( "inkVideoWidget", "JumpToFrame", (VideoWidget_JumpToFrame x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VideoWidget_JumpToFrame( ink.VideoWidget self, uint frameNumber );void JumpToTime(float timeInSeconds)RTTIre.Hooks.PlaceVoid( "inkVideoWidget", "JumpToTime", (VideoWidget_JumpToTime x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VideoWidget_JumpToTime( ink.VideoWidget self, float timeInSeconds );ink.VideoWidgetSummary GetVideoWidgetSummary()RTTIre.Hooks.Place( "inkVideoWidget", "GetVideoWidgetSummary", (VideoWidget_GetVideoWidgetSummary x) => { return re.Hooks.CallOriginal<re.msgpack.ink.VideoWidgetSummary>(); } ); [Msgpack.Gen] public readonly partial record struct VideoWidget_GetVideoWidgetSummary( ink.VideoWidget self );void PreloadNextVideo(red.ResourceReferenceScriptToken videoPath)RTTIre.Hooks.PlaceVoid( "inkVideoWidget", "PreloadNextVideo", (VideoWidget_PreloadNextVideo x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VideoWidget_PreloadNextVideo( ink.VideoWidget self, red.ResourceReferenceScriptToken videoPath );void SetLoop(bool isLooped)RTTIre.Hooks.PlaceVoid( "inkVideoWidget", "SetLoop", (VideoWidget_SetLoop x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VideoWidget_SetLoop( ink.VideoWidget self, bool isLooped );bool IsPlayingVideo()RTTIre.Hooks.Place( "inkVideoWidget", "IsPlayingVideo", (VideoWidget_IsPlayingVideo x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct VideoWidget_IsPlayingVideo( ink.VideoWidget self );bool IsParallaxEnabled()RTTIre.Hooks.Place( "inkVideoWidget", "IsParallaxEnabled", (VideoWidget_IsParallaxEnabled x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct VideoWidget_IsParallaxEnabled( ink.VideoWidget self );bool IsPaused()RTTIre.Hooks.Place( "inkVideoWidget", "IsPaused", (VideoWidget_IsPaused x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct VideoWidget_IsPaused( ink.VideoWidget self );void SetAudioEvent(CName audioEvent)RTTIre.Hooks.PlaceVoid( "inkVideoWidget", "SetAudioEvent", (VideoWidget_SetAudioEvent x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VideoWidget_SetAudioEvent( ink.VideoWidget self, CName audioEvent );void SetSyncToAudio(bool syncToAudio)RTTIre.Hooks.PlaceVoid( "inkVideoWidget", "SetSyncToAudio", (VideoWidget_SetSyncToAudio x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct VideoWidget_SetSyncToAudio( ink.VideoWidget self, bool syncToAudio );