Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -182,4 +182,9 @@ public CCSPlayer_MovementServices (IntPtr pointer) : base(pointer) {}
[SchemaMember("CCSPlayer_MovementServices", "m_vecInputRotated")]
public Vector InputRotated => Schema.GetDeclaredClass<Vector>(this.Handle, "CCSPlayer_MovementServices", "m_vecInputRotated");

// m_bJumpApexPending
[SchemaMember("CCSPlayer_MovementServices", "m_bJumpApexPending")]
public ref bool JumpApexPending => ref Schema.GetRef<bool>(this.Handle, "CCSPlayer_MovementServices", "m_bJumpApexPending");

}

8 changes: 6 additions & 2 deletions src/core/recipientfilters.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ class CRecipientFilter : public IRecipientFilter
bool IsInitMessage(void) const override { return m_bInitMessage; }
const CPlayerBitVec& GetRecipients(void) const override { return m_Recipients; }

virtual CPlayerSlot GetExcludedPlayerDueToPrediction() const { return m_slotPlayerExcludedDueToPrediction; }

void AddRecipient(CPlayerSlot slot)
{
if (slot.Get() >= 0 && slot.Get() < ABSOLUTE_PLAYER_LIMIT) m_Recipients.Set(slot.Get());
Expand All @@ -48,9 +50,11 @@ class CRecipientFilter : public IRecipientFilter
}

protected:
NetChannelBufType_t m_nBufType;
bool m_bInitMessage;
CPlayerBitVec m_Recipients;
CPlayerSlot m_slotPlayerExcludedDueToPrediction = -1;
NetChannelBufType_t m_nBufType = BUF_DEFAULT;
bool m_bInitMessage;
bool m_bDoNotSuppressPrediction; // unused
};

class CSingleRecipientFilter : public CRecipientFilter
Expand Down
Loading