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

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