M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
|
Inherits TaleWorlds.Core.GameState.
Public Member Functions | |
void | SetStartingParameters (string videoPath, string audioPath, string subtitleFileBasePath, float frameRate=30.0f, bool canUserSkip=true) |
Set Video Player initialization parameters. | |
void | SetOnVideoFinisedDelegate (Action onVideoFinised) |
Set the lambda that the screen state will call when the video ends. | |
void | OnVideoFinished () |
THIS SHOULDN'T BE CALLED BY ANYONE EXCEPT THE VIDEOVIEW. | |
![]() | |
bool | RegisterListener (IGameStateListener listener) |
bool | UnregisterListener (IGameStateListener listener) |
T | GetListenerOfType< T > () |
![]() | |
MBObjectBase () | |
MBObjectBase (MBObjectBase other) | |
MBObjectBase (string stringId) | |
void | AfterInitialized () |
virtual void | AfterRegister () |
virtual void | Initialize () |
virtual void | Deserialize (MBObjectManager objectManager, XmlNode node) |
override int | GetHashCode () |
virtual TextObject | GetName () |
void | PreAfterLoadInternal () |
void | AfterLoadInternal () |
void | OnRegistered () |
void | OnUnregistered () |
Properties | |
string | VideoPath [get] |
string | AudioPath [get] |
float | FrameRate [get] |
string | SubtitleFileBasePath [get] |
bool | CanUserSkip [get] |
![]() | |
GameState | Predecessor [get] |
bool | IsActive [get] |
IReadOnlyCollection< IGameStateListener > | Listeners [get] |
GameStateManager | GameStateManager [get] |
virtual bool | IsMusicMenuState [get] |
Whether or not if this state should be treated as a menu state for the music manager. | |
virtual bool | IsMenuState [get] |
Whether or not if this state is a screen/menu state for GUI. | |
virtual bool | IsMission [get] |
bool | Activated [get] |
![]() | |
string | StringId [get, set] |
MBGUID | Id [get, set] |
bool | IsInitialized [get] |
bool | IsReady [get, set] |
Additional Inherited Members | |
![]() | |
int | Level |
![]() | |
static int | NumberOfListenerActivations |
![]() | |
GameState () | |
virtual void | OnInitialize () |
virtual void | OnFinalize () |
virtual void | OnActivate () |
virtual void | OnDeactivate () |
![]() | |
virtual void | OnBeforeLoad () |
virtual void | PreAfterLoad () |
virtual void | AfterLoad () |
void TaleWorlds.MountAndBlade.VideoPlaybackState.SetStartingParameters | ( | string | videoPath, |
string | audioPath, | ||
string | subtitleFileBasePath, | ||
float | frameRate = 30::0f , |
||
bool | canUserSkip = true |
||
) |
videoPath | Path to the video file on the disk. |
audioPath | Path to the audio file of the video on the disk. |
subtitleFileBasePath | BASE Path to the subtitle file on the disk. "_{LANGUAGE_CODE} gets added to the end of the base path. Language code convention is ISO 639-1. Default is en. Has to be SRT type.</param> <param name="frameRate">Frame rate to play the file at.</param> <param name="canUserSkip">Can user skip video with keys. |
void TaleWorlds.MountAndBlade.VideoPlaybackState.SetOnVideoFinisedDelegate | ( | Action | onVideoFinised | ) |
void TaleWorlds.MountAndBlade.VideoPlaybackState.OnVideoFinished | ( | ) |
|
get |
|
get |
|
get |
|
get |
|
get |