Fix
[ryzomcore.git] / ryzom / server / src / entities_game_service / harvest_info.h
blob3c4d7c03797afafa174cd323a85d54c180dfa737
1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
3 //
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.
8 //
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/>.
19 #ifndef RY_HARVEST_INFO_H
20 #define RY_HARVEST_INFO_H
23 namespace HARVEST_INFOS
26 struct CHarvestInfos
28 NLMISC::TGameCycle EndCherchingTime;
29 NLMISC::CSheetId Sheet;
30 uint32 DepositIndex;
31 uint32 DepositIndexContent;
32 uint16 Quantity;
33 uint16 MinQuality;
34 uint16 MaxQuality;
36 CHarvestInfos() : EndCherchingTime(0xffffffff), DepositIndex(0xffffffff), DepositIndexContent(0), Quantity(0),MinQuality(0),MaxQuality(0)
39 void serial(NLMISC::IStream &f)
41 f.serial( EndCherchingTime );
42 f.serial( Sheet );
43 f.serial( DepositIndex );
44 f.serial( DepositIndexContent );
45 f.serial( Quantity );
46 f.serial( MinQuality );
47 f.serial( MaxQuality );
52 #endif // RY_HARVEST_INFO_H
53 /* End of harvest_info.h */