Logo Khaganat
Translations of this page?:

Database_plr

The database_plr.h .cpp are files generated from xml files(like all files with the remark that they are generated automatically).

To compile the files there's always a xxx.xslt and a xxx.xml.

For the database_plr.h/.cpp files they are generated from/ryzom/common/data_common/database.xml

The .xslt can be found at code/ryzom/common/src/game_share/generate_client_db.xslt

If you want to change database_plr.h/.cpp, you need to change database.xml commands:

On Linux/MacOS go to code/ryzom/common/src/game_share/ and use:

$ xsltproc --stringparam filename database --stringparam bank PLR --stringparam output header --stringparam side server --output ../../../server/src/entities_game_service/database_plr.h generate_client_db.xslt ../../data_common/database.xml
$ xsltproc --stringparam filename database --stringparam bank PLR --stringparam output cpp --stringparam side server --output ../../../server/src/entities_game_service/database_plr.cpp generate_client_db.xslt ../../data_common/database.xml

On Windows:

msxsl R:\code\ryzom\common\data_common\database.xml R:\code\ryzom\common\src\game_share\generate_client_db.xslt output=header side=server bank=PLR filename=database -o R:\code\ryzom\server\src\entities_game_service\database_plr.h
msxsl R:\code\ryzom\common\data_common\database.xml R:\code\ryzom\common\src\game_share\generate_client_db.xslt output=cpp side=server bank=PLR filename=database -o R:\code\ryzom\server\src\entities_game_service\database_plr.cpp

Based on: https://ryzomcore.atlassian.net/wiki/display/RC/Adding+Factions+and+Tribe.

CC Attribution-Share Alike 4.0 International Driven by DokuWiki
en/database_plr.txt · Last modified: 2021/12/03 18:19 by 127.0.0.1

Licences Mentions légales Accueil du site Contact