-
Notifications
You must be signed in to change notification settings - Fork 0
/
InputHelperScript.cs
646 lines (632 loc) · 25.4 KB
/
InputHelperScript.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
using System;
using Boo.Lang.Runtime;
using I2.Loc;
using Rewired;
using UnityEngine;
using UnityEngine.UI;
// Token: 0x02000060 RID: 96
[Serializable]
public class InputHelperScript : MonoBehaviour
{
// Token: 0x0600024E RID: 590 RVA: 0x000031C3 File Offset: 0x000013C3
public virtual void Awake()
{
this.player = ReInput.players.GetPlayer(0);
}
// Token: 0x0600024F RID: 591 RVA: 0x00036C64 File Offset: 0x00034E64
public virtual void Start()
{
GameObject x = GameObject.Find("Root");
if (x != null)
{
this.root = (RootScript)GameObject.Find("Root").GetComponent(typeof(RootScript));
}
}
// Token: 0x06000250 RID: 592 RVA: 0x000020A7 File Offset: 0x000002A7
public virtual void Update()
{
}
// Token: 0x06000251 RID: 593 RVA: 0x00036CAC File Offset: 0x00034EAC
public virtual GameObject GetInputSymbol(string action, bool isKeyboard)
{
string inputButtonName = null;
if (action == "LOOK")
{
if (isKeyboard)
{
inputButtonName = "Mouse";
}
else if (this.GetInputButtonName("Aim Horizontal", false, false).Contains("Right Stick") && this.GetInputButtonName("Aim Horizontal", true, false).Contains("Right Stick") && this.GetInputButtonName("Aim Vertical", false, false).Contains("Right Stick") && this.GetInputButtonName("Aim Vertical", true, false).Contains("Right Stick"))
{
inputButtonName = "Right Stick";
}
else
{
if (!this.GetInputButtonName("Aim Horizontal", false, false).Contains("Left Stick") || !this.GetInputButtonName("Aim Horizontal", true, false).Contains("Left Stick") || !this.GetInputButtonName("Aim Vertical", false, false).Contains("Left Stick") || !this.GetInputButtonName("Aim Vertical", true, false).Contains("Left Stick"))
{
GameObject gameObject = new GameObject();
RectTransform rectTransform = (RectTransform)gameObject.AddComponent(typeof(RectTransform));
rectTransform.anchorMax = (rectTransform.anchorMin = Vector2.zero);
RectTransform rectTransform2 = (RectTransform)this.GetInputSymbolFromButtonName(this.GetInputButtonName("Aim Horizontal", false, isKeyboard), isKeyboard).GetComponent(typeof(RectTransform));
RectTransform rectTransform3 = (RectTransform)this.GetInputSymbolFromButtonName(this.GetInputButtonName("Aim Horizontal", true, isKeyboard), isKeyboard).GetComponent(typeof(RectTransform));
RectTransform rectTransform4 = (RectTransform)this.GetInputSymbolFromButtonName(this.GetInputButtonName("Aim Vertical", true, isKeyboard), isKeyboard).GetComponent(typeof(RectTransform));
RectTransform rectTransform5 = (RectTransform)this.GetInputSymbolFromButtonName(this.GetInputButtonName("Aim Vertical", false, isKeyboard), isKeyboard).GetComponent(typeof(RectTransform));
float x = rectTransform2.sizeDelta.x + rectTransform3.sizeDelta.x + rectTransform4.sizeDelta.x + rectTransform5.sizeDelta.x + (float)25;
Vector2 sizeDelta = rectTransform.sizeDelta;
float num = sizeDelta.x = x;
Vector2 vector = rectTransform.sizeDelta = sizeDelta;
int num2 = 30;
Vector2 sizeDelta2 = rectTransform.sizeDelta;
float num3 = sizeDelta2.y = (float)num2;
Vector2 vector2 = rectTransform.sizeDelta = sizeDelta2;
rectTransform2.SetParent(rectTransform, false);
rectTransform3.SetParent(rectTransform, false);
rectTransform4.SetParent(rectTransform, false);
rectTransform5.SetParent(rectTransform, false);
rectTransform2.anchoredPosition = new Vector2(rectTransform2.sizeDelta.x / (float)2 + (float)5, (float)15);
rectTransform3.anchoredPosition = new Vector2(rectTransform2.anchoredPosition.x + rectTransform3.sizeDelta.x / (float)2 + rectTransform2.sizeDelta.x / (float)2 + (float)5, (float)15);
rectTransform4.anchoredPosition = new Vector2(rectTransform3.anchoredPosition.x + rectTransform4.sizeDelta.x / (float)2 + rectTransform3.sizeDelta.x / (float)2 + (float)5, (float)15);
rectTransform5.anchoredPosition = new Vector2(rectTransform4.anchoredPosition.x + rectTransform5.sizeDelta.x / (float)2 + rectTransform4.sizeDelta.x / (float)2 + (float)5, (float)15);
return gameObject;
}
inputButtonName = "Left Stick";
}
}
else if(action == "PISTOL")
inputButtonName = this.GetInputButtonName("Pistol", true, isKeyboard);
else if (action == "SHOOT")
{
inputButtonName = this.GetInputButtonName("Fire", true, isKeyboard);
}
else if (action == "SHOOT2")
{
inputButtonName = this.GetInputButtonName("Fire2", true, isKeyboard);
}
else if (action == "INTERACT")
{
inputButtonName = this.GetInputButtonName("Interact", true, isKeyboard);
}
else if (action == "ACTION")
{
inputButtonName = this.GetInputButtonName("Focus", true, isKeyboard);
}
else if (action == "RESTART")
{
inputButtonName = this.GetInputButtonName("Interact", true, isKeyboard);
}
else if (action == "RELOAD")
{
inputButtonName = this.GetInputButtonName("Reload", true, isKeyboard);
}
else if (action == "LEFT")
{
inputButtonName = this.GetInputButtonName("Move", false, isKeyboard);
}
else if (action == "RIGHT")
{
inputButtonName = this.GetInputButtonName("Move", true, isKeyboard);
}
else if (action == "CROUCH")
{
inputButtonName = this.GetInputButtonName("Crouch", false, isKeyboard);
}
else if (action == "DODGE")
{
inputButtonName = this.GetInputButtonName("Dodge", true, isKeyboard);
}
else if (action == "MELEE")
{
inputButtonName = this.GetInputButtonName("Kick", true, isKeyboard);
}
else if (action == "JUMP")
{
inputButtonName = this.GetInputButtonName("Jump", true, isKeyboard);
}
else if (action == "CHANGEWEAPON")
{
inputButtonName = this.GetInputButtonName("Change Weapon", true, isKeyboard);
}
else if (action == "MOTOUP")
{
inputButtonName = this.GetInputButtonName("MotorcycleY", true, isKeyboard);
}
else if (action == "MOTODOWN")
{
inputButtonName = this.GetInputButtonName("MotorcycleY", false, isKeyboard);
}
else if (action == "MOTOWHEELIE")
{
inputButtonName = this.GetInputButtonName("MotorcycleWheelie", true, isKeyboard);
}
else if (action == "MOTOJUMP")
{
inputButtonName = this.GetInputButtonName("Jump", true, isKeyboard);
}
else if (action == "UISPECIAL1")
{
inputButtonName = this.GetInputButtonName("UISpecial1", true, isKeyboard);
}
else if (action == "UISPECIAL2")
{
inputButtonName = this.GetInputButtonName("UISpecial2", true, isKeyboard);
}
else if (action == "UISPECIAL3")
{
inputButtonName = this.GetInputButtonName("UISpecial3", true, isKeyboard);
}
else if (action == "UISPECIAL4")
{
inputButtonName = this.GetInputButtonName("UISpecial4", true, isKeyboard);
}
else if (action == "UISUBMIT")
{
inputButtonName = this.GetInputButtonName("UISubmit", true, isKeyboard);
}
else if (action == "UIBACK")
{
inputButtonName = this.GetInputButtonName("UIBack", true, isKeyboard);
}
return this.GetInputSymbolFromButtonName(inputButtonName, isKeyboard);
}
// Token: 0x06000252 RID: 594 RVA: 0x000373A0 File Offset: 0x000355A0
public virtual GameObject GetInputSymbolFromButtonName(string inputButtonName, bool isKeyboard)
{
object obj = null;
if (!isKeyboard)
{
string text;
if (inputButtonName == "Right Stick")
{
text = "rstick";
}
else if (inputButtonName == "Right Stick Left")
{
text = "rstick_left";
}
else if (inputButtonName == "Right Stick Right")
{
text = "rstick_right";
}
else if (inputButtonName == "Right Stick Up")
{
text = "rstick_up";
}
else if (inputButtonName == "Right Stick Down")
{
text = "rstick_down";
}
else if (inputButtonName == "Right Stick Button")
{
text = "r3";
}
else if (inputButtonName == "Left Stick")
{
text = "lstick";
}
else if (inputButtonName == "Left Stick Left")
{
text = "lstick_left";
}
else if (inputButtonName == "Left Stick Right")
{
text = "lstick_right";
}
else if (inputButtonName == "Left Stick Up")
{
text = "lstick_up";
}
else if (inputButtonName == "Left Stick Down")
{
text = "lstick_down";
}
else if (inputButtonName == "Left Stick Button")
{
text = "l3";
}
else if ((this.gamepadStyle <= 1 && inputButtonName == "B") || (this.gamepadStyle > 1 && inputButtonName == "A") || inputButtonName == "Cross")
{
text = "b1";
}
else if ((this.gamepadStyle <= 1 && inputButtonName == "A") || (this.gamepadStyle > 1 && inputButtonName == "B") || inputButtonName == "Circle")
{
text = "b2";
}
else if ((this.gamepadStyle <= 1 && inputButtonName == "Y") || (this.gamepadStyle > 1 && inputButtonName == "X") || inputButtonName == "Square")
{
text = "b3";
}
else if ((this.gamepadStyle <= 1 && inputButtonName == "X") || (this.gamepadStyle > 1 && inputButtonName == "Y") || inputButtonName == "Triangle")
{
text = "b4";
}
else if (inputButtonName == "D-Pad Left")
{
text = "dpad_left";
}
else if (inputButtonName == "D-Pad Right")
{
text = "dpad_right";
}
else if (inputButtonName == "D-Pad Up")
{
text = "dpad_up";
}
else if (inputButtonName == "D-Pad Down")
{
text = "dpad_down";
}
else if (inputButtonName == "L" || inputButtonName == "Left Shoulder" || inputButtonName == "L1")
{
text = "l1";
}
else if (inputButtonName == "ZL" || inputButtonName == "Left Trigger" || inputButtonName == "L2")
{
text = "l2";
}
else if (inputButtonName == "R" || inputButtonName == "Right Shoulder" || inputButtonName == "R1")
{
text = "r1";
}
else if (inputButtonName == "ZR" || inputButtonName == "Right Trigger" || inputButtonName == "R2")
{
text = "r2";
}
else if (inputButtonName == "Plus" || inputButtonName == "Start" || inputButtonName == "Options")
{
text = "start";
}
else if (inputButtonName == "Minus" || inputButtonName == "Back" || inputButtonName == "Share")
{
text = "select";
}
else if (inputButtonName == "SL" || inputButtonName == "Left SL" || inputButtonName == "Right SL")
{
text = "sl";
}
else if (inputButtonName == "SR" || inputButtonName == "Left SR" || inputButtonName == "Right SR")
{
text = "sr";
}
else if (inputButtonName == "Touchpad Button")
{
text = "touchpad";
}
else
{
text = "NONE";
}
if (text != "NONE")
{
if (this.gamepadStyle == 0)
{
obj = UnityEngine.Object.Instantiate(Resources.Load("HUD/ButtonPrompts/NX/" + text));
}
else if (this.gamepadStyle == 1)
{
obj = UnityEngine.Object.Instantiate(Resources.Load("HUD/ButtonPrompts/NX_Pro/" + text));
}
else if (this.gamepadStyle == 2)
{
obj = UnityEngine.Object.Instantiate(Resources.Load("HUD/ButtonPrompts/PS/" + text));
}
else
{
obj = UnityEngine.Object.Instantiate(Resources.Load("HUD/ButtonPrompts/XB/" + text));
}
}
}
if ((isKeyboard || RuntimeServices.EqualityOperator(obj, null)) && inputButtonName != null)
{
bool flag = inputButtonName.Contains("Mouse");
bool flag2 = flag;
if (flag)
{
if (inputButtonName == "Mouse")
{
obj = UnityEngine.Object.Instantiate(Resources.Load("HUD/ButtonPrompts/KBM/Mouse"));
}
else if (inputButtonName == "Left Mouse Button")
{
obj = UnityEngine.Object.Instantiate(Resources.Load("HUD/ButtonPrompts/KBM/MouseLeftClick"));
}
else if (inputButtonName == "Right Mouse Button")
{
obj = UnityEngine.Object.Instantiate(Resources.Load("HUD/ButtonPrompts/KBM/MouseRightClick"));
}
else if (inputButtonName == "Mouse Button 3")
{
obj = UnityEngine.Object.Instantiate(Resources.Load("HUD/ButtonPrompts/KBM/MouseScroll"));
}
else if (inputButtonName == "Mouse Wheel Up")
{
obj = UnityEngine.Object.Instantiate(Resources.Load("HUD/ButtonPrompts/KBM/MouseScrollUp"));
}
else if (inputButtonName == "Mouse Wheel Down")
{
obj = UnityEngine.Object.Instantiate(Resources.Load("HUD/ButtonPrompts/KBM/MouseScrollDown"));
}
else
{
flag = false;
}
}
if (!flag)
{
obj = UnityEngine.Object.Instantiate(Resources.Load("HUD/ButtonPrompts/KBM/Key"));
GameObject gameObject = obj as GameObject;
RectTransform rectTransform = (RectTransform)gameObject.GetComponent(typeof(RectTransform));
Text text2 = (Text)rectTransform.Find("KeyText").GetComponent(typeof(Text));
string text3;
if (inputButtonName == " ")
{
text3 = this.GetTranslation("inNoMap");
}
else if (inputButtonName.Length > 2 && inputButtonName != "F10" && inputButtonName != "F11" && inputButtonName != "F12" && inputButtonName != "ESC" && !flag2)
{
text3 = this.GetTranslation(inputButtonName);
}
else
{
text3 = inputButtonName;
}
text2.text = text3;
if (text3.Length > 3 || LocalizationManager.CurrentLanguageCode == "zh-CN" || LocalizationManager.CurrentLanguageCode == "zh-TW")
{
float x = Mathf.Clamp(text2.preferredWidth + (float)((!(inputButtonName == "Space")) ? 20 : 40), 27.5f, (float)300);
Vector2 sizeDelta = rectTransform.sizeDelta;
float num = sizeDelta.x = x;
Vector2 vector = rectTransform.sizeDelta = sizeDelta;
}
if (text3.Length > 1)
{
text2.fontSize = 10;
}
}
}
return obj as GameObject;
}
// Token: 0x06000253 RID: 595 RVA: 0x000031D6 File Offset: 0x000013D6
public virtual string GetTranslation(string id)
{
return LocalizationManager.GetTranslation(id, true, 0, true, false, null, null);
}
// Token: 0x06000254 RID: 596 RVA: 0x00037BF4 File Offset: 0x00035DF4
public virtual Controller GetControllerToUse(bool isKeyboard, bool getMouse)
{
Controller controller;
if (!getMouse)
{
controller = this.player.controllers.GetLastActiveController((!isKeyboard) ? ControllerType.Joystick : ControllerType.Keyboard);
if (RuntimeServices.EqualityOperator(controller, null))
{
controller = this.player.controllers.GetController((!isKeyboard) ? ControllerType.Joystick : ControllerType.Keyboard, 0);
}
}
else
{
controller = this.player.controllers.GetLastActiveController(ControllerType.Mouse);
if (RuntimeServices.EqualityOperator(controller, null))
{
controller = this.player.controllers.GetController(ControllerType.Mouse, 0);
}
}
if (!isKeyboard && !RuntimeServices.EqualityOperator(controller, null))
{
if (controller.name.Contains("Nintendo"))
{
if (controller.name.Contains("Pro"))
{
this.gamepadStyle = 1;
}
else
{
this.gamepadStyle = 0;
}
}
else if (controller.name.Contains("Sony"))
{
this.gamepadStyle = 2;
}
else
{
this.gamepadStyle = 3;
}
}
return controller;
}
// Token: 0x06000255 RID: 597 RVA: 0x00037D08 File Offset: 0x00035F08
public virtual ActionElementMap GetActionElementMapToUse(Controller controller, string theAction, bool positiveAxis)
{
if (!RuntimeServices.EqualityOperator(controller, null))
{
ControllerMap map = this.player.controllers.maps.GetMap(controller.type, controller.id, "Default", "Default");
ActionElementMap[] elementMapsWithAction = map.GetElementMapsWithAction(theAction);
int i = 0;
ActionElementMap[] array = elementMapsWithAction;
int length = array.Length;
while (i < length)
{
if (array[i].axisContribution == ((!positiveAxis) ? Pole.Negative : Pole.Positive))
{
return array[i];
}
i++;
}
map = this.player.controllers.maps.GetMap(controller.type, controller.id, "Motorcycle", "Default");
if (!RuntimeServices.EqualityOperator(map, null))
{
elementMapsWithAction = map.GetElementMapsWithAction(theAction);
int j = 0;
ActionElementMap[] array2 = elementMapsWithAction;
int length2 = array2.Length;
while (j < length2)
{
if (array2[j].axisContribution == ((!positiveAxis) ? Pole.Negative : Pole.Positive))
{
return array2[j];
}
j++;
}
}
map = this.player.controllers.maps.GetMap(controller.type, controller.id, "UI Nav", "Default");
if (!RuntimeServices.EqualityOperator(map, null))
{
elementMapsWithAction = map.GetElementMapsWithAction(theAction);
int k = 0;
ActionElementMap[] array3 = elementMapsWithAction;
int length3 = array3.Length;
while (k < length3)
{
if (array3[k].axisContribution == ((!positiveAxis) ? Pole.Negative : Pole.Positive))
{
return array3[k];
}
k++;
}
}
}
return null;
}
// Token: 0x06000256 RID: 598 RVA: 0x00037EB4 File Offset: 0x000360B4
public virtual string GetInputButtonName(string theAction, bool positiveAxis, bool isKeyboard)
{
Controller controllerToUse = this.GetControllerToUse(isKeyboard, false);
string result;
if (!RuntimeServices.EqualityOperator(controllerToUse, null))
{
ActionElementMap actionElementMapToUse = this.GetActionElementMapToUse(controllerToUse, theAction, positiveAxis);
if (RuntimeServices.EqualityOperator(actionElementMapToUse, null))
{
if (isKeyboard)
{
controllerToUse = this.GetControllerToUse(isKeyboard, true);
if (RuntimeServices.EqualityOperator(controllerToUse, null))
{
result = this.GetTranslation("inMissing");
}
else
{
actionElementMapToUse = this.GetActionElementMapToUse(controllerToUse, theAction, positiveAxis);
result = ((!RuntimeServices.EqualityOperator(actionElementMapToUse, null)) ? actionElementMapToUse.elementIdentifierName : " ");
}
}
else
{
result = " ";
}
}
else
{
result = actionElementMapToUse.elementIdentifierName;
}
}
else
{
result = ((!isKeyboard) ? this.GetTranslation("inNoPad") : this.GetTranslation("inNoKeyb"));
}
return result;
}
// Token: 0x06000257 RID: 599 RVA: 0x00037F8C File Offset: 0x0003618C
public virtual bool checkForMissingInput(bool isKeyboard)
{
bool result = default(bool);
if (!isKeyboard)
{
if (this.GetInputButtonName("Aim Horizontal", false, isKeyboard) == " ")
{
result = true;
}
else if (this.GetInputButtonName("Aim Horizontal", true, isKeyboard) == " ")
{
result = true;
}
else if (this.GetInputButtonName("Aim Vertical", true, isKeyboard) == " ")
{
result = true;
}
else if (this.GetInputButtonName("Aim Vertical", false, isKeyboard) == " ")
{
result = true;
}
}
if (this.GetInputButtonName("Move", false, isKeyboard) == " ")
{
result = true;
}
else if (this.GetInputButtonName("Move", true, isKeyboard) == " ")
{
result = true;
}
else if (this.GetInputButtonName("Jump", true, isKeyboard) == " ")
{
result = true;
}
else if (this.GetInputButtonName("Crouch", false, isKeyboard) == " ")
{
result = true;
}
else if (this.GetInputButtonName("Dodge", true, isKeyboard) == " ")
{
result = true;
}
else if (this.GetInputButtonName("Interact", true, isKeyboard) == " ")
{
result = true;
}
else if (this.GetInputButtonName("Focus", true, isKeyboard) == " ")
{
result = true;
}
else if (this.GetInputButtonName("Kick", true, isKeyboard) == " ")
{
result = true;
}
else if (this.GetInputButtonName("Fire", true, isKeyboard) == " ")
{
result = true;
}
else if (this.GetInputButtonName("Fire2", true, isKeyboard) == " ")
{
result = true;
}
else if (this.GetInputButtonName("Reload", true, isKeyboard) == " ")
{
result = true;
}
else if (this.GetInputButtonName("Change Weapon", true, isKeyboard) == " ")
{
result = true;
}
else if (this.GetInputButtonName("Scroll Weapon", true, isKeyboard) == " ")
{
result = true;
}
else if (this.GetInputButtonName("Scroll Weapon", false, isKeyboard) == " ")
{
result = true;
}
else if (this.GetInputButtonName("MotorcycleY", true, isKeyboard) == " ")
{
result = true;
}
else if (this.GetInputButtonName("MotorcycleY", false, isKeyboard) == " ")
{
result = true;
}
else if (this.GetInputButtonName("MotorcycleWheelie", true, isKeyboard) == " ")
{
result = true;
}
return result;
}
// Token: 0x06000258 RID: 600 RVA: 0x000020A7 File Offset: 0x000002A7
public virtual void Main()
{
}
// Token: 0x0400071F RID: 1823
private RootScript root;
// Token: 0x04000720 RID: 1824
private Player player;
// Token: 0x04000721 RID: 1825
private int gamepadStyle;
}