Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Lerpmonitor] Update #876

Merged
merged 2 commits into from
Feb 21, 2025
Merged

[Lerpmonitor] Update #876

merged 2 commits into from
Feb 21, 2025

Conversation

A1mDev
Copy link
Contributor

@A1mDev A1mDev commented Jan 27, 2025

  1. Removed unnecessary checks in native 'LM_GetLerpTime'. 'GetClientAuthId' - will abort the code on error (If the client is not connected or the index is invalid).
  2. Removed unnecessary checks in native 'LM_GetCurrentLerpTime'. 'GetClientInfo' - will abort the code on error (If the client is not connected or the index is invalid).
  3. Added native 'LM_GetChachedLerpTime'. Native returns the stored lerp time for the player.
  4. Changed native 'LM_GetLerpTime'. Native now returns the player's saved interpolation time, if the interpolation value is not found in the array, then it gets and returns the player's current interpolation time.

Fixed 'lerpmonitor'.
1) Removed unnecessary checks in native 'LM_GetLerpTime'. 'GetClientAuthId' - will abort the code on error (If the client is not connected or the index is invalid).
2) Removed unnecessary checks in native 'LM_GetCurrentLerpTime'. 'GetClientInfo' - will abort the code on error (If the client is not connected or the index is invalid).
3) Added native 'LM_GetChachedLerpTime'. Native returns the stored lerp time for the player.
4) Changed native 'LM_GetLerpTime'. Native now returns the player's saved interpolation time, if the interpolation value is not found in the array, then it gets and returns the player's current interpolation time.
@SirPlease SirPlease merged commit dce8571 into SirPlease:master Feb 21, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants