Example #1
0
 unsafe public CItemPtr(CItem *pointer)
 {
     this.pointer = new IntPtr(pointer);
 }
Example #2
0
        //public static CItemPtr FromHandle(IntPtr itemJassHandle)
        //{
        //  return GameFunctions.GetItemFromHandle(itemJassHandle);
        //}

        public unsafe CItemPtr(CItem *pointer)
        {
            this.pointer = new IntPtr((void *)pointer);
        }