|
|
@ -1,3 +1,18 @@
|
|
|
|
|
|
|
|
// 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
|
|
|
@ -941,8 +956,6 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
|
|
|
|
|
|
|
|
|
|
|
|
void setIS_INVISIBLE(CCDBSynchronised &dbGroup, bool value, bool forceSending = false)
|
|
|
|
void setIS_INVISIBLE(CCDBSynchronised &dbGroup, bool value, bool forceSending = false)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_setProp(dbGroup, _IS_INVISIBLE, value, forceSending);
|
|
|
|
_setProp(dbGroup, _IS_INVISIBLE, value, forceSending);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -1300,6 +1313,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;
|
|
|
@ -3457,8 +3471,6 @@ 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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -4560,8 +4572,6 @@ 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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -4577,10 +4587,8 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return _MONEY;
|
|
|
|
return _MONEY;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
private:
|
|
|
|
ICDBStructNode *_BranchNode;
|
|
|
|
ICDBStructNode *_BranchNode;
|
|
|
|
|
|
|
|
|
|
|
@ -4602,11 +4610,8 @@ 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,8 +6005,6 @@ 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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -8859,7 +8862,6 @@ 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);
|
|
|
|
|
|
|
|
|
|
|
@ -9050,8 +9052,6 @@ 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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -9067,7 +9067,6 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return _NAME;
|
|
|
|
return _NAME;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|