public void Mount(MountId mountEntry) { NPCEntry mount; if (!NPCMgr.Mounts.TryGetValue(mountEntry, out mount)) { log.Warn("Invalid Mount Entry-Id {0} ({1})", mountEntry, (int)mountEntry); return; } Mount(mount.DisplayIds[0]); }
public static extern bool Unmount(MountId mountId);
public static extern bool GetSourcePlugins([In] MountInitializeInfo mountInitializeInfo, MountCallback mountCallback, [Out] MountId mountId);
public static extern bool GetMountInfo(MountId mountId, [Out] MountInfo mountInfo);