Exemplo n.º 1
0
 private static void Postfix(PlayerLocomotion __instance, PlayerLocomotion.PLOC_State state, bool wasWarpedIntoState = false)
 {
     if (!__instance.m_owner.IsLocallyOwned)
     {
         return;
     }
     PlayerLocomotionEvents.StateChanged(state);
 }
Exemplo n.º 2
0
 private void ChangedWeapon(ItemEquippable e)
 {
     if (ItemEquippableEvents.IsCurrentItemShootableWeapon() && PlayerLocomotionEvents.InControllablePLOCState())
     {
         Toggle(true);
     }
     else
     {
         Toggle(false);
     }
 }
 private static void Postfix(PLOC_ClimbLadder __instance)
 {
     PlayerLocomotionEvents.LadderEntered(__instance.m_owner);
 }