예제 #1
0
 public static WoWContainer GetBagByIndex(int slot)
 {
     if (GetBagAtIndex == null)
         GetBagAtIndex =
             Manager.Memory.RegisterDelegate<GetBagAtIndexDelegate>((IntPtr)Pointers.Container.GetBagAtIndex);
     return Manager.ObjectManager.GetObjectByGuid(GetBagAtIndex(slot)) as WoWContainer;
 }
예제 #2
0
 public static WoWContainer GetBagByIndex(int slot)
 {
     if (GetBagAtIndex == null)
         GetBagAtIndex =
             Manager.Memory.RegisterDelegate<GetBagAtIndexDelegate>((IntPtr)Pointers.Container.GetBagAtIndex);
     return Manager.ObjectManager.GetObjectByGuid(GetBagAtIndex(slot)) as WoWContainer;
 }