Resolve "Toggle Free Look with Hotkey"
[ryzomcore.git] / ryzom / server / src / sabrina / sabrina_phrase_model_craft.h
blobf9273724f4a05853464aa5e041e7fd9d60b0cda4
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/>.
20 #ifndef RY_SABRINA_PHRASE_MODEL_CRAFT_H
21 #define RY_SABRINA_PHRASE_MODEL_CRAFT_H
23 #include "sabrina_phrase_model.h"
25 /**
26 * Base virtual class for all Sabrina phrases
27 * \author David Fleury
28 * \author Nevrax France
29 * \date 2003
31 class CSabrinaPhraseModelCraft : public ISabrinaPhraseModel
33 public:
34 //--------------------------------------------------------------------
35 // specialisation of virtual methods from ISabrinaPhraseModel
37 virtual bool addBrick( const CStaticBrick* brick )
39 return true; // TODO
42 virtual bool isValid( )
44 return true; // TODO
47 virtual SABRINA::TEventCode evaluate(const CSabrinaPhraseInstance* phraseInstance, CEvalReturnInfos* msg = NULL)
49 return SABRINA::SuccessNormal; // TODO
52 virtual bool requiresTarget()
54 return false;
57 virtual SABRINA::TEventCode validate(const CSabrinaPhraseInstance* phraseInstance)
59 return SABRINA::SuccessNormal; // TODO
62 virtual uint32 calculatePreExecutionDelay(const CSabrinaPhraseInstance* phraseInstance)
64 return 10; // TODO
67 virtual SABRINA::TEventCode executeAndApplyResults(const CSabrinaPhraseInstance* phraseInstance)
69 return SABRINA::SuccessNormal; // TODO
72 virtual uint32 calculatePostExecutionDelay(const CSabrinaPhraseInstance* phraseInstance)
74 return 0; // TODO
78 #endif