EntityLumpEntry.Get Method

Copies the key / value at the given index into buffers.

void Get(int index, char[] keybuf, int keylen, char[] valbuf, int vallen)

Parameters

int index

Position, starting from 0.

char[] keybuf

Key name buffer.

int keylen

Maximum length of the key name buffer.

char[] valbuf

Value buffer.

int vallen

Maximum length of the value buffer.

Errors

Index is out of bounds.