Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

DB2Reader

Featured Replies

Hello,

It depends on the version of Wow, but in WOTLK by sample :

 

using System.Runtime.InteropServices;
using wManager.Wow.Patchables;

namespace wManager.Wow.Helpers
{
    /// <summary>
    /// Class WoWLock
    /// </summary>
    public class WoWLock
    {
        private readonly LockDbcRecord _lockDbcRecord0;

        private static DBC<LockDbcRecord> _lockDBC;

        private WoWLock(uint id)
        {
            if (_lockDBC == null)
                _lockDBC = new DBC<LockDbcRecord>(0x00AD40F4 - 0x400000);
            _lockDbcRecord0 = _lockDBC.GetRow((int) id);
        }

        /// <summary>
        /// By id.
        /// </summary>
        /// <param name="id">The id.</param>
        /// <returns>WoWLock.</returns>
        public static WoWLock FromId(uint id)
        {
            return new WoWLock(id);
        }

        /// <summary>
        /// Get record.
        /// </summary>
        /// <value>The record.</value>
        public LockDbcRecord Record
        {
            get { return _lockDbcRecord0; }
        }

        [StructLayout(LayoutKind.Sequential)]
        public struct LockDbcRecord
        {
            // 1 + 4*8 = 33 fields
            public uint Id;
            [MarshalAs(UnmanagedType.ByValArray, SizeConst = 8)] public uint[] KeyType;
            [MarshalAs(UnmanagedType.ByValArray, SizeConst = 8)] public uint[] LockType;
            [MarshalAs(UnmanagedType.ByValArray, SizeConst = 8)] public uint[] Skill;
            [MarshalAs(UnmanagedType.ByValArray, SizeConst = 8)] public uint[] Action;
        }
    }
}

Which DB do you want to read?

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.