Regenerate PLR cpp and header

This commit is contained in:
kaetemi 2014-09-11 17:40:53 +02:00
parent a3bc817eb5
commit f9d24438c2
3 changed files with 163 additions and 171 deletions

View file

@ -1513,7 +1513,7 @@
<leaf name="DESPAWN" <leaf name="DESPAWN"
type="I7" /> type="I7" />
<leaf name="NAME" <leaf name="NAME"
type="TEXT" /> type="I32" />
</branch> </branch>
</branch> </branch>
<branch name="DEBUG_INFO" <branch name="DEBUG_INFO"

View file

@ -1,18 +1,3 @@
// Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
// Copyright (C) 2010 Winch Gate Property Limited
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
///////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////
// WARNING : this is a generated file, don't change it ! // WARNING : this is a generated file, don't change it !
@ -3140,10 +3125,11 @@ void CBankAccessor_PLR::TPACK_ANIMAL::TBEAST::init(ICDBStructNode *parent, uint
nlassert(node != NULL); nlassert(node != NULL);
_DESPAWN = node; _DESPAWN = node;
node = parent->getNode( ICDBStructNode::CTextId("NAME"), true ); node = parent->getNode( ICDBStructNode::CTextId("NAME"), false );
nlassert(node != NULL); nlassert(node != NULL);
_NAME = node; _NAME = node;
// branch init // branch init
} }

View file

@ -1,22 +1,7 @@
// Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
// Copyright (C) 2010 Winch Gate Property Limited
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef INCLUDED_database_PLR_H #ifndef INCLUDED_DATABASE_PLR_H
#define INCLUDED_database_PLR_H #define INCLUDED_DATABASE_PLR_H
///////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////
// WARNING : this is a generated file, don't change it ! // WARNING : this is a generated file, don't change it !
///////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////
@ -490,7 +475,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
ICDBStructNode *_IS_NEWBIE; ICDBStructNode *_IS_NEWBIE;
ICDBStructNode *_IS_TRIAL; ICDBStructNode *_IS_TRIAL;
ICDBStructNode *_DEFAULT_WEIGHT_HANDS; ICDBStructNode *_DEFAULT_WEIGHT_HANDS;
ICDBStructNode *_IS_INVISIBLE; ICDBStructNode *_IS_INVISIBLE;
ICDBStructNode *_COUNTER; ICDBStructNode *_COUNTER;
TSKILL_POINTS_ _SKILL_POINTS_[4]; TSKILL_POINTS_ _SKILL_POINTS_[4];
TFACTION_POINTS_ _FACTION_POINTS_[6]; TFACTION_POINTS_ _FACTION_POINTS_[6];
@ -954,6 +939,26 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
return _DEFAULT_WEIGHT_HANDS; return _DEFAULT_WEIGHT_HANDS;
} }
void setIS_INVISIBLE(CCDBSynchronised &dbGroup, bool value, bool forceSending = false)
{
_setProp(dbGroup, _IS_INVISIBLE, value, forceSending);
}
bool getIS_INVISIBLE(const CCDBSynchronised &dbGroup)
{
bool value;
_getProp(dbGroup, _IS_INVISIBLE, value);
return value;
}
ICDBStructNode *getIS_INVISIBLECDBNode()
{
return _IS_INVISIBLE;
}
void setCOUNTER(CCDBSynchronised &dbGroup, uint8 value, bool forceSending = false) void setCOUNTER(CCDBSynchronised &dbGroup, uint8 value, bool forceSending = false)
{ {
@ -976,20 +981,6 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
{ {
return _COUNTER; return _COUNTER;
} }
void setIS_INVISIBLE(CCDBSynchronised &dbGroup, bool value, bool forceSending = false)
{
_setProp(dbGroup, _IS_INVISIBLE, value, forceSending);
}
bool getIS_INVISIBLE(const CCDBSynchronised &dbGroup)
{
bool value;
_getProp(dbGroup, _IS_INVISIBLE, value);
return value;
}
TSKILL_POINTS_ &getSKILL_POINTS_(uint32 index) TSKILL_POINTS_ &getSKILL_POINTS_(uint32 index)
{ {
nlassert(index < 4); nlassert(index < 4);
@ -1309,8 +1300,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
{ {
return _DODGE; return _DODGE;
} }
TBRICK_TICK_RANGE &getBRICK_TICK_RANGE()
TBRICK_TICK_RANGE &getBRICK_TICK_RANGE()
{ {
return _BRICK_TICK_RANGE; return _BRICK_TICK_RANGE;
} }
@ -3467,6 +3457,8 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
void setMONEY(CCDBSynchronised &dbGroup, uint64 value, bool forceSending = false) void setMONEY(CCDBSynchronised &dbGroup, uint64 value, bool forceSending = false)
{ {
_setProp(dbGroup, _MONEY, value, forceSending); _setProp(dbGroup, _MONEY, value, forceSending);
} }
@ -4568,6 +4560,8 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
void setMONEY(CCDBSynchronised &dbGroup, uint64 value, bool forceSending = false) void setMONEY(CCDBSynchronised &dbGroup, uint64 value, bool forceSending = false)
{ {
_setProp(dbGroup, _MONEY, value, forceSending); _setProp(dbGroup, _MONEY, value, forceSending);
} }
@ -4575,6 +4569,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
{ {
uint64 value; uint64 value;
_getProp(dbGroup, _MONEY, value); _getProp(dbGroup, _MONEY, value);
return value; return value;
} }
@ -4582,8 +4577,10 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
{ {
return _MONEY; return _MONEY;
} }
}; };
private: private:
ICDBStructNode *_BranchNode; ICDBStructNode *_BranchNode;
@ -4605,8 +4602,11 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
return _BranchNode; return _BranchNode;
} }
void setMONEY(CCDBSynchronised &dbGroup, uint64 value, bool forceSending = false) void setMONEY(CCDBSynchronised &dbGroup, uint64 value, bool forceSending = false)
{ {
_setProp(dbGroup, _MONEY, value, forceSending); _setProp(dbGroup, _MONEY, value, forceSending);
} }
@ -6000,6 +6000,8 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
void setMONEY_SHEET(CCDBSynchronised &dbGroup, NLMISC::CSheetId value, bool forceSending = false) void setMONEY_SHEET(CCDBSynchronised &dbGroup, NLMISC::CSheetId value, bool forceSending = false)
{ {
_setProp(dbGroup, _MONEY_SHEET, value, forceSending); _setProp(dbGroup, _MONEY_SHEET, value, forceSending);
} }
@ -8857,6 +8859,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
ICDBStructNode *_DESPAWN; ICDBStructNode *_DESPAWN;
ICDBStructNode *_NAME; ICDBStructNode *_NAME;
public: public:
void init(ICDBStructNode *parent, uint index); void init(ICDBStructNode *parent, uint index);
@ -9047,6 +9050,8 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
void setNAME(CCDBSynchronised &dbGroup, uint32 value, bool forceSending = false) void setNAME(CCDBSynchronised &dbGroup, uint32 value, bool forceSending = false)
{ {
_setProp(dbGroup, _NAME, value, forceSending); _setProp(dbGroup, _NAME, value, forceSending);
} }
@ -9062,6 +9067,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
{ {
return _NAME; return _NAME;
} }
}; };
@ -10483,4 +10489,4 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
}; };
#endif // INCLUDED_database_PLR_H #endif // INCLUDED_DATABASE_PLR_H