public unsafe void SetPrivateData(int offset, int value) { *((int *)this.entity->pvPrivateData + offset) = value; }