Skip to content

Gophercraft/whoa-autocode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

whoa-autocode

whoa-autocode is a Go tool that generates C++ class definitions based on information from the WoWDBDefs project.

This tool is intended to provide code for the Whoa client (which targets build 12340); however you may supply a --build flag to target a different build number.

It also creates WowClientDB instances for each of the tables. Then, a function is created, StaticDBLoadAll. This will load every DB table at once, with some exclusions (see autocode/nonstatic_exclusions.go)

Install

git clone https://github.com/Gophercraft/whoa-autocode.git whoa-autocode
cd whoa-autocode
go install github.com/Gophercraft/whoa-autocode

Example

whoa-autocode cpp \
	--location whoa/ \ # put Whoa project here
	--edit-warning=true \
	--normalize-members=true \
	--locale-offset-token=CURRENT_LANGUAGE

Releases

No releases published

Packages

No packages published

Languages