#wow #world-of-warcraft #game #definitions

wow_world_base

Base definitions and functions for World of Warcraft game servers

2 releases

0.1.1 May 20, 2023
0.1.0 May 20, 2023

#4 in #world-of-warcraft

Download history 20/week @ 2023-08-07 19/week @ 2023-08-14 3/week @ 2023-08-21 8/week @ 2023-08-28 18/week @ 2023-09-04 11/week @ 2023-09-11 13/week @ 2023-09-18 13/week @ 2023-09-25 11/week @ 2023-10-02 12/week @ 2023-10-09 13/week @ 2023-10-16 12/week @ 2023-10-23 12/week @ 2023-10-30 12/week @ 2023-11-06 16/week @ 2023-11-13 20/week @ 2023-11-20

60 downloads per month
Used in 3 crates

MIT/Apache

6.5MB
148K SLoC

wow_world_base

Crate containing common enumerators, flags and structs for World of Warcraft emulation.

Usage

To add only the base items run the following command:

cargo add --features 'vanilla tbc wrath' wow_world_base

Then read the docs.

Auto Generation

This crate is partially auto generated by the wowm files in the wow_messages repository.


lib.rs:

Crate containing common enumerators, flags and structs for World of Warcraft emulation.

Usage

To add only the base items run the following command:

cargo add --features 'vanilla tbc wrath' wow_world_base

The library is split into the top level modules:

  • vanilla for items valid for version 1.12.x.
  • [tbc] for items valid for version 2.4.3.8606.
  • wrath for items valid for version 3.3.5.12340.
  • shared for items that are valid for multiple versions. These are also exported through the regular modules, so for example if you are working with vanilla it is only necessary to export items from vanilla.

The remaining top level modules contain various functions and constants that are generally valid.

Features/Serde support

This crate has the following features:

  • vanilla, for client version 1.12.x.
  • tbc, for client version 2.4.3.8606.
  • wrath, for client version 3.3.5.x.
  • extended, for additional functions and data that is not just simple enums and structs.
  • serde, for serde support, namely deriving Serialize and Deserialize.

Auto Generation

This crate is partially auto generated by the wowm files in the wow_messages repository.

Sources

Values and names are determined based on previous emulator efforts, experimentation, and reverse engineering.

Dependencies