private static void Postfix(PlayerLocomotion __instance, PlayerLocomotion.PLOC_State state, bool wasWarpedIntoState = false) { if (!__instance.m_owner.IsLocallyOwned) { return; } PlayerLocomotionEvents.StateChanged(state); }
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); }