mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
34 lines
500 B
C++
34 lines
500 B
C++
// TODO: Implement ReliabilityLayer.h
|
|
|
|
#ifndef __RELIABILITY_LAYER_H
|
|
#define __RELIABILITY_LAYER_H
|
|
|
|
#include "SocketLayer.h"
|
|
#include "MTUSize.h"
|
|
|
|
class ReliabilityLayer
|
|
{
|
|
public:
|
|
|
|
/// Constructor
|
|
ReliabilityLayer();
|
|
|
|
private:
|
|
|
|
// Initialize the variables
|
|
void InitializeVariables( void );
|
|
|
|
// Make it so we don't do resends within a minimum threshold of time
|
|
void UpdateNextActionTime(void);
|
|
|
|
char _gap0[713];
|
|
|
|
RakNetTime ping;
|
|
|
|
char _gap[1020];
|
|
|
|
RakNetTimeNS ackTimeIncrement;
|
|
};
|
|
|
|
#endif
|