| scardoc;Debug |
| Functions |
| _idleBehaviour_stop( TABLE data ) | |
|
这是一个全局函数,需要存在以便其他功能正常工作。它曾经位于 module_defend.scar 中,但与该特定代码块无关!【功能:全局占位函数】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\scarutil.scar] (4088) | |
| _IntelDebugNext( ) | |
|
播放调试队列中的下一个情报事件。情报事件按照任务 .events 文件中定义的顺序依次播放。【功能:播放下一个情报事件】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\scarutil.scar] (3882) | |
| _IntelDebugPrev( ) | |
|
播放调试队列中的上一个情报事件。情报事件按照任务 .events 文件中定义的顺序依次播放。【功能:播放上一个情报事件】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\scarutil.scar] (3905) | |
| _IntelDebugReplay( ) | |
|
重播上次调试的情报事件。【功能:重播情报事件】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\scarutil.scar] (3863) | |
| Game_DefaultGameRestore( ) | |
|
从存档加载任务后,恢复单人游戏的各个方面。【功能:恢复游戏状态】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\scarutil.scar] (4050) | |
| Game_GetGameRestoreCallbackExists( Function callback ) | |
|
检查是否存在回调函数。【功能:检查回调是否存在】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\scarutil.scar] (4034) | |
| Game_RemoveGameRestoreCallback( Function callback ) | |
|
移除在游戏恢复时调用的回调函数。【功能:移除恢复回调】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\scarutil.scar] (4021) | |
| Game_SetGameRestoreCallback( Function callback ) | |
|
添加一个函数及其参数集,在从存档恢复游戏时自动调用。最多支持9个参数。回调将以如下方式调用:Callback(arg[1], arg[2], ...)【功能:设置恢复回调】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\scarutil.scar] (4001) | |
| Util_EnterCinematicMode( GameUICore OPT_VisibilityFlag Enums, List OPT_of GameUICore VisibilityFlag enums to hide in cinematic mode. Pass in an empty table or nil to not hide any game components. Pass in the constant "DEFAULT_CINEMATIC_HIDDEN_GAME_COMPONENT_FLAGS" for a default set of game components to hide., Function skipNISCallback (optional): Skip NIS callback to set., Boolean shouldKeepXboxHidden (optional): Will make sure the Xbox UI stays hidden after exiting the cinematic so it can be revealed during missions ) | |
|
进入过场动画模式。【功能:进入过场动画模式】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\scarutil.scar] (4140) | |
| Util_ExitCinematicMode( ) | |
|
退出过场动画模式。【功能:退出过场动画模式】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\scarutil.scar] (4184) | |
| Util_FullscreenMode( GameUICore OPT_VisibilityFlag Enums, List OPT_of GameUICore VisibilityFlag enums to hide in fullscreen mode. Pass in an empty table or nil to not hide any game components. Pass in the constant "DEFAULT_FULLSCREEN_HIDDEN_GAME_COMPONENT_FLAGS" for a default set of game components to hide. ) | |
|
进入全屏模式。【功能:进入全屏模式】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\scarutil.scar] (4265) | |
| Util_GetCommandLineArgument( String key of the argument you want to query ) | |
|
命令行参数的包装函数。每个参数请勿多次调用。应用程序启动后参数无法更改,因此请保存结果并重复使用。【功能:获取命令行参数】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\scarutil.scar] (4102) | |
| Util_IsCinematicMode( ) | |
|
返回过场动画模式是否处于活动状态。【功能:检查过场动画模式】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\scarutil.scar] (4225) | |
| Util_NormalMode( ) | |
|
进入普通模式。【功能:进入普通模式】 |
|
| Source: [E:\P4Share\engine\assets\engine\scar\scarutil.scar] (4230) | |
| Util_ReverseList( table list_to_reverse ) | |
|
反转传递给函数的表中的条目顺序。【功能:反转列表】 This function will iterate over a 1D array/table and flip it, so that the first element is the last, the last is the first, and so on. |
|
| Source: [E:\P4Share\engine\assets\engine\scar\scarutil.scar] (4122) | |