MCPcopy Create free account
hub / github.com/Tencent/UnLua / GetData

Method GetData

Plugins/UnLua/Source/UnLua/Private/Containers/LuaArray.h:360–363  ·  view source on GitHub ↗

* Get address of the i'th element * * @param Index - the index * @return - the address of the i'th element */

Source from the content-addressed store, hash-verified

358 * @return - the address of the i'th element
359 */
360 FORCEINLINE uint8* GetData(int32 Index)
361 {
362 return (uint8*)ScriptArray->GetData() + Index * ElementSize;
363 }
364
365 FORCEINLINE const uint8* GetData(int32 Index) const
366 {

Callers 1

AppendMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected