Resolve "Toggle Free Look with Hotkey"
[ryzomcore.git] / ryzom / server / src / ai_service / ais_control.h
blobca4fbde84d7fe6903bc712d95d2fe1f147242bb0
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/>.
17 #ifndef NL_AIS_CONTROL_H
18 #define NL_AIS_CONTROL_H
20 #include "nel/misc/types_nl.h"
21 #include "nel/misc/singleton.h"
22 #include "game_share/far_position.h"
23 #include "ais_control.h"
25 class IAisControl
26 : public NLMISC::CManualSingleton<IAisControl>
28 public:
30 virtual void activateEasterEgg(uint32 easterEggId, TSessionId scenarioId, uint32 actId, const std::string &items, float x, float y, float z, float heading, const std::string &grpCtrl, const std::string& name="", const std::string& look="") =0;
32 virtual void deactivateEasterEgg(uint32 easterEggId, TSessionId scenarioId, uint32 actId) =0;
34 virtual void dssMessage(TSessionId sessionId, const std::string& mode, const std::string& who, const std::string &msg) =0;
36 virtual void giveRewardMessage(TDataSetRow characterRowId, TDataSetRow creatureRowId,
37 const std::string& rewardText,
38 const std::string& rareRewardText,
39 const std::string& inventoryFullText,
40 const std::string& notEnoughPointsText) = 0;
42 virtual void teleportNearMessage(const NLMISC::CEntityId& entity, float x, float y, float z) = 0;
44 virtual void reportNpcControl(const NLMISC::CEntityId& playerEntityId, const NLMISC::CEntityId& botEntityId) = 0;
45 virtual void reportStopNpcControl(const NLMISC::CEntityId& playerEntityId, const NLMISC::CEntityId& botEntityId) = 0;
46 virtual void setScenarioPoints(TSessionId sessionId, float scenarioPoints) = 0;
47 virtual void startScenarioTiming(TSessionId sessionId) = 0;
48 virtual void endScenarioTiming(TSessionId sessionId) = 0;
54 #endif // NL_AIS_CONTROL_H
56 /* End of ais_control.h */