@ -1,22 +1,7 @@
// Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
// Copyright (C) 2010 Winch Gate Property Limited
//
# ifndef INCLUDED_DATABASE_PLR_H
// This program is free software: you can redistribute it and/or modify
# define INCLUDED_DATABASE_PLR_H
// 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
# 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 !
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
@ -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,7 +1300,6 @@ 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 ) ;
}
}
@ -6536,77 +6538,6 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
} ;
} ;
class TFABER_PLANS
{
public :
class TArray
{
public :
private :
ICDBStructNode * _BranchNode ;
ICDBStructNode * _KNOWN ;
public :
void init ( ICDBStructNode * parent , uint index ) ;
// accessor to branch node
ICDBStructNode * getCDBNode ( )
{
return _BranchNode ;
}
void setKNOWN ( CCDBSynchronised & dbGroup , uint64 value , bool forceSending = false )
{
_setProp ( dbGroup , _KNOWN , value , forceSending ) ;
}
uint64 getKNOWN ( const CCDBSynchronised & dbGroup )
{
uint64 value ;
_getProp ( dbGroup , _KNOWN , value ) ;
return value ;
}
ICDBStructNode * getKNOWNCDBNode ( )
{
return _KNOWN ;
}
} ;
private :
ICDBStructNode * _BranchNode ;
TArray _Array [ 64 ] ;
public :
void init ( ICDBStructNode * parent ) ;
// accessor to branch node
ICDBStructNode * getCDBNode ( )
{
return _BranchNode ;
}
TArray & getArray ( uint32 index )
{
nlassert ( index < 64 ) ;
return _Array [ index ] ;
}
} ;
class TMISSIONS
class TMISSIONS
{
{
public :
public :
@ -8857,6 +8788,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 ) ;
@ -9045,12 +8977,26 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
return _DESPAWN ;
return _DESPAWN ;
}
}
void setNAME ( CCDBSynchronised & dbGroup , u int32 value , bool forceSending = false )
void setNAME ( CCDBSynchronised & dbGroup , u cstring value , bool forceSending = false )
{
{
_setProp ( dbGroup , _NAME , value , forceSending ) ;
_setProp ( dbGroup , _NAME , value , forceSending ) ;
}
}
uint32 getNAME ( const CCDBSynchronised & dbGroup )
ucstring getNAME ( const CCDBSynchronised & dbGroup )
{
ucstring value ;
_getProp ( dbGroup , _NAME , value ) ;
return value ;
}
void setNAME ( CCDBSynchronised & dbGroup , uint32 stringId , bool forceSending = false )
{
_setProp ( dbGroup , _NAME , stringId , forceSending ) ;
}
uint32 getNAME_id ( const CCDBSynchronised & dbGroup )
{
{
uint32 value ;
uint32 value ;
_getProp ( dbGroup , _NAME , value ) ;
_getProp ( dbGroup , _NAME , value ) ;
@ -9062,6 +9008,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
{
{
return _NAME ;
return _NAME ;
}
}
} ;
} ;
@ -10316,8 +10263,6 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
static TBRICK_FAMILY _BRICK_FAMILY ;
static TBRICK_FAMILY _BRICK_FAMILY ;
static TFABER_PLANS _FABER_PLANS ;
static TMISSIONS _MISSIONS ;
static TMISSIONS _MISSIONS ;
static TEXECUTE_PHRASE _EXECUTE_PHRASE ;
static TEXECUTE_PHRASE _EXECUTE_PHRASE ;
@ -10426,10 +10371,6 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
{
{
return _BRICK_FAMILY ;
return _BRICK_FAMILY ;
}
}
static TFABER_PLANS & getFABER_PLANS ( )
{
return _FABER_PLANS ;
}
static TMISSIONS & getMISSIONS ( )
static TMISSIONS & getMISSIONS ( )
{
{
return _MISSIONS ;
return _MISSIONS ;
@ -10483,4 +10424,4 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
} ;
} ;
# endif // INCLUDED_ database _PLR_H
# endif // INCLUDED_ DATABASE _PLR_H