temp fixes and stability improvements

This commit is contained in:
Arneth
2022-01-21 19:15:14 -05:00
parent 07448bc23d
commit 87a0d0fe7a
71 changed files with 1212 additions and 75 deletions
@@ -14,11 +14,12 @@ namespace Qoo.Game
// Token: 0x06000611 RID: 1553 RVA: 0x00019374 File Offset: 0x00017574
internal static bool KsExecProc(string Func, string Param, string Value, int count)
{
Dictionary<string,int> dict = null;
if (Func != null)
{
if (KsExec.<>f__switch$map1 == null)
if (dict == null)
{
KsExec.<>f__switch$map1 = new Dictionary<string, int>(2)
dict = new Dictionary<string, int>(2)
{
{
"inputname",
@@ -31,7 +32,7 @@ namespace Qoo.Game
};
}
int num;
if (KsExec.<>f__switch$map1.TryGetValue(Func, out num))
if (dict.TryGetValue(Func, out num))
{
if (num != 0)
{
@@ -144,7 +145,7 @@ namespace Qoo.Game
// Token: 0x06000614 RID: 1556 RVA: 0x00019604 File Offset: 0x00017804
private static void KeyboardMain()
{
switch (Application.platform)
switch (UnityEngine.Application.platform)
{
case RuntimePlatform.IPhonePlayer:
case RuntimePlatform.Android: