Merge branch '164-crash-on-patching-and-possibly-right-after-login' into main/gingo...
[ryzomcore.git] / ryzom / client / src / behaviour_context.h
blob66fbaae0e87beac1900dd0e838d9b5a611cbf41a
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 CL_BEHAVIOUR_CONTEXT
20 #define CL_BEHAVIOUR_CONTEXT
22 #include "game_share/mode_and_behaviour.h"
23 #include "game_share/entity_types.h"
24 #include "game_share/magic_fx.h"
25 #include "game_share/multi_target.h"
28 // a behaviour and its associatted context
29 class CBehaviourContext
31 public:
32 MBEHAV::CBehaviour Behav;
33 double BehavTime; // Time in second at which the behaviour is occuring
34 // list of multi targets for spells
35 CMultiTarget Targets;
36 public:
37 // ctor
38 CBehaviourContext();
45 #endif