Merge branch 'fixes' into main/rendor-staging
[ryzomcore.git] / ryzom / common / src / game_share / pact.h
blobac4b24fa143b37a91995024ea7eac56a393f898a
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_PACT_H
20 #define RY_PACT_H
22 /////////////
23 // INCLUDE //
24 /////////////
25 #include "nel/misc/types_nl.h"
27 #include <string>
29 // Name space People in game share
30 namespace GSPACT
32 // All different people
33 enum EPactNature
35 Unknown = 0,
36 Kamique,
37 Caravane,
39 NUM_PACT_NATURE = Caravane // 2
42 enum EPactType
44 Type1 = 0,
45 Type2,
46 Type3,
47 Type4,
48 Type5,
49 Type6,
50 UnknownType,
52 NUM_PACT_TYPE = UnknownType // 6
56 /// Return a string according to the enum parameter
57 const std::string& toString (EPactNature pactNature);
59 /// Return a string according to the enum parameter
60 const std::string& toString (EPactType pactType);
62 };// namespace GSPACT
68 #endif // RY_PACT_H
70 /* End of pact.h */