unsafe public CItemPtr(CItem *pointer) { this.pointer = new IntPtr(pointer); }
//public static CItemPtr FromHandle(IntPtr itemJassHandle) //{ // return GameFunctions.GetItemFromHandle(itemJassHandle); //} public unsafe CItemPtr(CItem *pointer) { this.pointer = new IntPtr((void *)pointer); }