1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
27 #include "nel/misc/types_nl.h"
28 #include "entity_sheet.h"
46 * Class to manage the FX sheet.
48 * CFxCL used a part of this sheet class:
49 * In the first item in PSList:
51 * - 'Standard' user params 0 and 1 (see CFXSheet::CPSStruct::StandardIndex)
53 * \author Guillaume PUZIN (GUIGUI)
54 * \author Nevrax France
57 class CFXSheet
: public CEntitySheet
63 class CPSUserParamStruct
66 /// Value for the USer Param 0
68 /// Value for the USer Param 1
70 /// Value for the USer Param 2
72 /// Value for the USer Param 3
84 /// Serialize character sheet into binary data file.
85 virtual void serial(NLMISC::IStream
&f
)
96 /// PS launch according the animation or at the beginning.
98 /// Parameters by Power.
99 std::vector
<CPSUserParamStruct
> Power
;
100 /// Index of the 'Standard' power
101 static uint StandardIndex
;
110 /// Serialize character sheet into binary data file.
111 virtual void serial(NLMISC::IStream
&f
)
119 std::vector
<std::string
> TrailList
;
120 std::vector
<CPSStruct
> PSList
;
125 /// Build the sheet from an external script.
126 virtual void build(const NLGEORGES::UFormElm
&item
);
128 /// Serialize character sheet into binary data file.
129 virtual void serial(NLMISC::IStream
&f
);
133 #endif // CL_FX_SHEET_H
135 /* End of fx_sheet.h */