forked from akanyan/mu3-mods
feat(LoadBoost): SkipCamera toggle
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
using MonoMod;
|
||||
using MU3.SceneObject;
|
||||
|
||||
namespace MU3.Sequence;
|
||||
@ -5,9 +6,16 @@ namespace MU3.Sequence;
|
||||
public class patch_Initialize: Initialize {
|
||||
private Scene_12_Initialize _initializeObject;
|
||||
|
||||
private void Execute_InitQRReader() {
|
||||
_initializeObject.setQRCodeReaderStatus("SKIP");
|
||||
setNextState(EState.CheckDelivery);
|
||||
[MonoModIgnore]
|
||||
private extern void Enter_InitQRReader();
|
||||
|
||||
private void Leave_CheckLever() {
|
||||
using IniFile iniFile = new("mu3.ini");
|
||||
if(iniFile.getValue("Sequence", "SkipCamera", true)) {
|
||||
Enter_InitQRReader();
|
||||
_initializeObject.setQRCodeReaderStatus("SKIP");
|
||||
setNextState(EState.CheckDelivery);
|
||||
}
|
||||
}
|
||||
|
||||
private void Enter_Warning() {
|
||||
|
Reference in New Issue
Block a user