BfWriteEntity Function

Writes an entity to a writable bitbuffer (bf_write).

void BfWriteEntity(Handle bf, int ent)

Parameters

Handle bf

bf_write handle to write to.

int ent

Entity index to write.

Errors

Invalid or incorrect Handle, or invalid entity.

Notes

This is a wrapper around BfWriteShort().