MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / Data

Method Data

LuaSTGPlus/ObjectPool.hpp:43–48  ·  view source on GitHub ↗

@brief ��ȡ��������� @return ��id��Ч����nullptr

Source from the content-addressed store, hash-verified

41 /// @brief ��ȡ���������
42 /// @return ��id������nullptr
43 T* Data(size_t id)
44 {
45 if (id < AllocCount && m_DataUsed[id])
46 return &m_DataBuffer[id];
47 return nullptr;
48 }
49 /// @brief �����ѷ��������
50 size_t Size()
51 {

Callers 15

NewMethod · 0.80
DelMethod · 0.80
KillMethod · 0.80
IsValidMethod · 0.80
AngleMethod · 0.80
DistMethod · 0.80
GetVMethod · 0.80
SetVMethod · 0.80
SetImgStateMethod · 0.80
BoxCheckMethod · 0.80
DoDefaultRenderMethod · 0.80
NextObjectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected