Updated README with current proposal

This commit is contained in:
Martin Benjamins
2018-01-06 14:56:57 +01:00
committed by GitHub
parent c118ecda37
commit 028d9c2bed

View File

@@ -9,6 +9,41 @@ Cool stuff we might end up doing if this gets enough traction:
- Repository will feed automated updates on WoWDev.wiki
- Pull requests are automatically checked for validity
The format in which these files will be built up is still up for discussion. You can view the current proposal [here](https://wowdev.wiki/User:Marlamin/DB/Test) (Under the "Source struct" heading). Discussions regarding the format should be done in the relevant issue [here](https://github.com/Marlamin/WoWDBDefs/issues/1).
The format in which these files will be built up is still up for discussion. Current proposal is as follows:
All feedback is welcome!
Inline ID: ```<uint32 ID>```
Regular: ```type ColName```
Arrays: ```type[length] ColName```
Foreign keys: ```type<DBName> ColName```
```
<uint32 ID>
string Directory
uint32[2] Flags
float MinimapIconScale
float[2] CorpseCoordinates
string ZoneName
string HordeDescription
string AllianceDescription
string PvpObjective
string PvpDescription
uint16<AreaTable> AreaTableID
int16<LoadingScreens> LoadingScreenID
int16<Map> CorpseMapID
int16 TimeOfDayOverride
int16<Map> ParentMapID
int16<Map> CosmeticParentMapID
int16<WindSettings> WindSettingsID
uint8 InstanceType
uint8 MapType
uint8 ExpansionID
uint8 MaxPlayers
uint8 TimeOffset
```
Discussions regarding the format proposal should be done in the relevant issue [here](https://github.com/Marlamin/WoWDBDefs/issues/1).
All feedback is welcome!