mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
* Mostly rebuild CServer structure. * Partially rebuild CNetworkStringTable structure. * Partially rebuild CNetworkStringTableContainer structure. * Removed redundant patterns which are now covered in the data structure.
24 lines
440 B
C++
24 lines
440 B
C++
//============ Copyright Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose:
|
|
//
|
|
// $NoKeywords: $
|
|
//
|
|
// A growable memory class.
|
|
//===========================================================================//
|
|
#pragma once
|
|
|
|
template <class T>
|
|
class CUtlMemory
|
|
{
|
|
public:
|
|
CUtlMemory() {};
|
|
CUtlMemory<T>(uintptr_t ptr) : m_pMemory(ptr) {};
|
|
|
|
private:
|
|
void* m_pMemory;
|
|
int64_t m_nAllocationCount;
|
|
int64_t m_nGrowSize;
|
|
};
|
|
|