diff --git a/code/ryzom/common/data_common/database.xml b/code/ryzom/common/data_common/database.xml
index 6608664b8..b87dd921b 100644
--- a/code/ryzom/common/data_common/database.xml
+++ b/code/ryzom/common/data_common/database.xml
@@ -1513,7 +1513,7 @@
+ type="I32" />
-// 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 .
/////////////////////////////////////////////////////////////////
// WARNING : this is a generated file, don't change it !
@@ -362,7 +347,7 @@ void CBankAccessor_PLR::TUSER::init(ICDBStructNode *parent)
node = parent->getNode( ICDBStructNode::CTextId("IS_INVISIBLE"), false );
nlassert(node != NULL);
_IS_INVISIBLE = node;
-
+
node = parent->getNode( ICDBStructNode::CTextId("COUNTER"), false );
nlassert(node != NULL);
_COUNTER = node;
@@ -3139,10 +3124,11 @@ void CBankAccessor_PLR::TPACK_ANIMAL::TBEAST::init(ICDBStructNode *parent, uint
node = parent->getNode( ICDBStructNode::CTextId("DESPAWN"), false );
nlassert(node != NULL);
_DESPAWN = node;
-
- node = parent->getNode( ICDBStructNode::CTextId("NAME"), true );
+
+ node = parent->getNode( ICDBStructNode::CTextId("NAME"), false );
nlassert(node != NULL);
_NAME = node;
+
// branch init
diff --git a/code/ryzom/server/src/entities_game_service/database_plr.h b/code/ryzom/server/src/entities_game_service/database_plr.h
index bd431a108..38a394c88 100644
--- a/code/ryzom/server/src/entities_game_service/database_plr.h
+++ b/code/ryzom/server/src/entities_game_service/database_plr.h
@@ -1,22 +1,7 @@
-// Ryzom - MMORPG Framework
-// 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 .
-#ifndef INCLUDED_database_PLR_H
-#define INCLUDED_database_PLR_H
+#ifndef INCLUDED_DATABASE_PLR_H
+#define INCLUDED_DATABASE_PLR_H
/////////////////////////////////////////////////////////////////
// WARNING : this is a generated file, don't change it !
/////////////////////////////////////////////////////////////////
@@ -140,7 +125,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
class TGameTime
- {
+ {
public:
@@ -183,7 +168,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TINTERFACES
- {
+ {
public:
@@ -247,11 +232,11 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TUSER
- {
+ {
public:
class TSKILL_POINTS_
- {
+ {
public:
@@ -294,7 +279,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TFACTION_POINTS_
- {
+ {
public:
@@ -337,7 +322,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TRRPS_LEVELS
- {
+ {
public:
@@ -380,7 +365,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TNPC_CONTROL
- {
+ {
public:
@@ -490,7 +475,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
ICDBStructNode *_IS_NEWBIE;
ICDBStructNode *_IS_TRIAL;
ICDBStructNode *_DEFAULT_WEIGHT_HANDS;
- ICDBStructNode *_IS_INVISIBLE;
+ ICDBStructNode *_IS_INVISIBLE;
ICDBStructNode *_COUNTER;
TSKILL_POINTS_ _SKILL_POINTS_[4];
TFACTION_POINTS_ _FACTION_POINTS_[6];
@@ -954,6 +939,26 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
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)
{
@@ -976,20 +981,6 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
{
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)
{
nlassert(index < 4);
@@ -1013,15 +1004,15 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TDEFENSE
- {
+ {
public:
class TSLOTS
- {
+ {
public:
class TArray
- {
+ {
public:
@@ -1156,15 +1147,15 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TFLAGS
- {
+ {
public:
class TBRICK_TICK_RANGE
- {
+ {
public:
class TArray
- {
+ {
public:
@@ -1309,20 +1300,19 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
{
return _DODGE;
}
-
- TBRICK_TICK_RANGE &getBRICK_TICK_RANGE()
+ TBRICK_TICK_RANGE &getBRICK_TICK_RANGE()
{
return _BRICK_TICK_RANGE;
}
-
+
};
-
+
class TTARGET
- {
+ {
public:
class TBARS
- {
+ {
public:
@@ -1482,15 +1472,15 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TCONTEXT_MENU
- {
+ {
public:
class TMISSIONS_OPTIONS
- {
+ {
public:
class TArray
- {
+ {
public:
@@ -1602,11 +1592,11 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TMISSION_RING
- {
+ {
public:
class TArray
- {
+ {
public:
@@ -1927,11 +1917,11 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TGROUP
- {
+ {
public:
class TArray
- {
+ {
public:
@@ -2109,19 +2099,19 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TMISSIONS
- {
+ {
public:
class TArray
- {
+ {
public:
class TGOALS
- {
+ {
public:
class TArray
- {
+ {
public:
@@ -2209,7 +2199,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TTARGET
- {
+ {
public:
@@ -2294,11 +2284,11 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class THISTO
- {
+ {
public:
class TArray
- {
+ {
public:
@@ -2716,7 +2706,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TDM_GIFT
- {
+ {
public:
@@ -2759,15 +2749,15 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TEXCHANGE
- {
+ {
public:
class TGIVE
- {
+ {
public:
class TArray
- {
+ {
public:
@@ -3062,11 +3052,11 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TRECEIVE
- {
+ {
public:
class TArray
- {
+ {
public:
@@ -3467,6 +3457,8 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
void setMONEY(CCDBSynchronised &dbGroup, uint64 value, bool forceSending = false)
{
+
+
_setProp(dbGroup, _MONEY, value, forceSending);
}
@@ -3540,15 +3532,15 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TINVENTORY
- {
+ {
public:
class THAND
- {
+ {
public:
class TArray
- {
+ {
public:
@@ -3618,11 +3610,11 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TEQUIP
- {
+ {
public:
class TArray
- {
+ {
public:
@@ -3692,11 +3684,11 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TTEMP
- {
+ {
public:
class TArray
- {
+ {
public:
@@ -4033,11 +4025,11 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TSHARE
- {
+ {
public:
class TArray
- {
+ {
public:
@@ -4377,7 +4369,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TTM_
- {
+ {
public:
@@ -4504,7 +4496,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TROOM
- {
+ {
public:
@@ -4568,6 +4560,8 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
void setMONEY(CCDBSynchronised &dbGroup, uint64 value, bool forceSending = false)
{
+
+
_setProp(dbGroup, _MONEY, value, forceSending);
}
@@ -4575,14 +4569,17 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
{
uint64 value;
_getProp(dbGroup, _MONEY, value);
+
return value;
}
-
+
ICDBStructNode *getMONEYCDBNode()
{
return _MONEY;
}
+
};
+
private:
ICDBStructNode *_BranchNode;
@@ -4605,8 +4602,11 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
return _BranchNode;
}
+
void setMONEY(CCDBSynchronised &dbGroup, uint64 value, bool forceSending = false)
{
+
+
_setProp(dbGroup, _MONEY, value, forceSending);
}
@@ -4669,15 +4669,15 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TMODIFIERS
- {
+ {
public:
class TBONUS
- {
+ {
public:
class TArray
- {
+ {
public:
@@ -4786,11 +4786,11 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TMALUS
- {
+ {
public:
class TArray
- {
+ {
public:
@@ -4948,11 +4948,11 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TDISABLE_CONSUMABLE
- {
+ {
public:
class TArray
- {
+ {
public:
@@ -5040,15 +5040,15 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TBOTCHAT
- {
+ {
public:
class TDM_CHOICE
- {
+ {
public:
class TArray
- {
+ {
public:
@@ -5310,11 +5310,11 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TASCENSOR
- {
+ {
public:
class TArray
- {
+ {
public:
@@ -5468,11 +5468,11 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TCHOOSE_MISSIONS
- {
+ {
public:
class TArray
- {
+ {
public:
@@ -5668,11 +5668,11 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TTRADING
- {
+ {
public:
class TArray
- {
+ {
public:
@@ -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)
{
+
+
_setProp(dbGroup, _MONEY_SHEET, value, forceSending);
}
@@ -6466,11 +6468,11 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TBRICK_FAMILY
- {
+ {
public:
class TArray
- {
+ {
public:
@@ -6537,11 +6539,11 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TFABER_PLANS
- {
+ {
public:
class TArray
- {
+ {
public:
@@ -6608,19 +6610,19 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TMISSIONS
- {
+ {
public:
class TArray
- {
+ {
public:
class TGOALS
- {
+ {
public:
class TArray
- {
+ {
public:
@@ -6708,7 +6710,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TTARGET
- {
+ {
public:
@@ -6793,11 +6795,11 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class THISTO
- {
+ {
public:
class TArray
- {
+ {
public:
@@ -7138,15 +7140,15 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TEXECUTE_PHRASE
- {
+ {
public:
class TLINK
- {
+ {
public:
class TArray
- {
+ {
public:
@@ -7512,11 +7514,11 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TCHARACTER_INFO
- {
+ {
public:
class TCHARACTERISTICS
- {
+ {
public:
@@ -7562,7 +7564,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TSCORES
- {
+ {
public:
@@ -7680,11 +7682,11 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TMAGIC_RESISTANCE
- {
+ {
public:
class TArray
- {
+ {
public:
@@ -7778,11 +7780,11 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TMAGIC_PROTECTION
- {
+ {
public:
class TArray
- {
+ {
public:
@@ -7900,7 +7902,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TDODGE
- {
+ {
public:
@@ -7970,7 +7972,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TPARRY
- {
+ {
public:
@@ -8040,11 +8042,11 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TSKILLS
- {
+ {
public:
class TArray
- {
+ {
public:
@@ -8159,7 +8161,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TXP_CATALYSER
- {
+ {
public:
@@ -8229,7 +8231,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TRING_XP_CATALYSER
- {
+ {
public:
@@ -8299,7 +8301,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TPVP_FACTION_TAG
- {
+ {
public:
@@ -8405,7 +8407,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TPVP_OUTPOST
- {
+ {
public:
@@ -8532,15 +8534,15 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TSUCCESS_MODIFIER
- {
+ {
public:
class TECO
- {
+ {
public:
class TArray
- {
+ {
public:
@@ -8836,11 +8838,11 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TPACK_ANIMAL
- {
+ {
public:
class TBEAST
- {
+ {
public:
@@ -8855,7 +8857,8 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
ICDBStructNode *_POS;
ICDBStructNode *_HUNGER;
ICDBStructNode *_DESPAWN;
- ICDBStructNode *_NAME;
+ ICDBStructNode *_NAME;
+
public:
void init(ICDBStructNode *parent, uint index);
@@ -9044,9 +9047,11 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
{
return _DESPAWN;
}
-
+
void setNAME(CCDBSynchronised &dbGroup, uint32 value, bool forceSending = false)
{
+
+
_setProp(dbGroup, _NAME, value, forceSending);
}
@@ -9057,11 +9062,12 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
return value;
}
-
+
ICDBStructNode *getNAMECDBNode()
{
return _NAME;
}
+
};
@@ -9089,7 +9095,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TDEBUG_INFO
- {
+ {
public:
@@ -9132,11 +9138,11 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TMP_EVAL
- {
+ {
public:
class TRESULT
- {
+ {
public:
@@ -9284,7 +9290,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TRESULT_CRITICAL
- {
+ {
public:
@@ -9481,7 +9487,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TCOMPASS
- {
+ {
public:
@@ -9566,11 +9572,11 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TFAME
- {
+ {
public:
class TPLAYER
- {
+ {
public:
@@ -9655,7 +9661,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TTRIBE
- {
+ {
public:
@@ -9860,7 +9866,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TSTATIC_DATA
- {
+ {
public:
@@ -9903,11 +9909,11 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TDYN_CHAT
- {
+ {
public:
class TCHANNEL
- {
+ {
public:
@@ -10016,11 +10022,11 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TPVP_EFFECTS
- {
+ {
public:
class TPVP_FACTION_POINTS
- {
+ {
public:
@@ -10126,7 +10132,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TArray
- {
+ {
public:
@@ -10240,7 +10246,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
class TWEATHER
- {
+ {
public:
@@ -10483,4 +10489,4 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
};
-#endif // INCLUDED_database_PLR_H
+#endif // INCLUDED_DATABASE_PLR_H