예제 #1
0
        // Token: 0x060002CB RID: 715 RVA: 0x0001C8AC File Offset: 0x0001AAAC
        public void FixedUpdate()
        {
            bool flag  = !OptimizationVariables.MainPlayer;
            bool flag2 = !flag;

            if (flag2)
            {
                MiscComponent.VehicleFlight();
                MiscComponent.PlayerFlight();
            }
        }
예제 #2
0
 // Token: 0x060002C9 RID: 713 RVA: 0x0001C208 File Offset: 0x0001A408
 private void Start()
 {
     MiscComponent.Instance     = this;
     Provider.onClientConnected = (Provider.ClientConnected) Delegate.Combine(Provider.onClientConnected, new Provider.ClientConnected(delegate()
     {
         bool alwaysCheckMovementVerification = MiscOptions.AlwaysCheckMovementVerification;
         bool flag = alwaysCheckMovementVerification;
         if (flag)
         {
             MiscComponent.CheckMovementVerification();
         }
         else
         {
             MiscOptions.NoMovementVerification = false;
         }
     }));
     SkinsUtilities.RefreshEconInfo();
     HotkeyComponent.ActionDict.Add("_Com1", delegate
     {
         ChatManager.sendChat(EChatMode.GLOBAL, "/" + BindOptions.Com1);
     });
     HotkeyComponent.ActionDict.Add("_Com2", delegate
     {
         ChatManager.sendChat(EChatMode.GLOBAL, "/" + BindOptions.Com2);
     });
     HotkeyComponent.ActionDict.Add("_Com3", delegate
     {
         ChatManager.sendChat(EChatMode.GLOBAL, "/" + BindOptions.Com3);
     });
     HotkeyComponent.ActionDict.Add("_Com4", delegate
     {
         ChatManager.sendChat(EChatMode.GLOBAL, "/" + BindOptions.Com4);
     });
     HotkeyComponent.ActionDict.Add("_Com5", delegate
     {
         ChatManager.sendChat(EChatMode.GLOBAL, "/" + BindOptions.Com5);
     });
     HotkeyComponent.ActionDict.Add("_AutoPickUp", delegate
     {
         ItemOptions.AutoItemPickup = !ItemOptions.AutoItemPickup;
     });
 }
예제 #3
0
 // Token: 0x060002CE RID: 718 RVA: 0x000031D5 File Offset: 0x000013D5
 public static void CheckMovementVerification()
 {
     MiscComponent.Instance.StartCoroutine(MiscComponent.CheckVerification(OptimizationVariables.MainPlayer.transform.position));
 }