4 releases (2 breaking)
0.3.0 | Oct 10, 2024 |
---|---|
0.2.0 | Feb 21, 2024 |
0.1.1 | May 20, 2023 |
0.1.0 | May 20, 2023 |
#923 in Network programming
24 downloads per month
Used in 5 crates
9MB
218K
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.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
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.shared
, for types that are used by more than one version. These are also enabled by any of the other version features, this is specifically if you want only the shared types.extended
, for additional functions and data that is not just simple enums and structs.serde
, forserde
support, namely derivingSerialize
andDeserialize
.
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.