1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-10-15 07:27:19 +02:00

Initial revision of the buffer implementation.

This commit is contained in:
Sandu Liviu Catalin
2016-07-08 00:56:54 +03:00
parent e5f9fffd8e
commit 4e93e58397
13 changed files with 1001 additions and 1201 deletions

View File

@@ -4,7 +4,7 @@
#include "Base/Color3.hpp"
#include "Base/Color4.hpp"
#include "Base/Vector3.hpp"
#include "Library/Utils/BufferWrapper.hpp"
#include "Library/Utils/Buffer.hpp"
#include "Core.hpp"
// ------------------------------------------------------------------------------------------------
@@ -1497,7 +1497,7 @@ Uint32 CPlayer::GetBufferCapacity() const
}
// ------------------------------------------------------------------------------------------------
void CPlayer::SendBuffer(const BufferWrapper & buffer) const
void CPlayer::SendBuffer(const SqBuffer & buffer) const
{
// Validate the managed identifier
Validate();

View File

@@ -853,7 +853,7 @@ public:
/* --------------------------------------------------------------------------------------------
* Send the specified buffer contents to the managed player entity.
*/
void SendBuffer(const BufferWrapper & buffer) const;
void SendBuffer(const SqBuffer & buffer) const;
/* --------------------------------------------------------------------------------------------
* Retrieve the position on the x axis of the managed player entity.