1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
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.
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 #include "ai_spawn_commands.h"
21 // Fix the stupid Visual 6 Warning
22 void foo_ai_spawn_commands() {};
25 using namespace NLMISC
;
32 //-------------------------------------------------------------------------
35 //NLMISC_COMMAND(spawnGrps,"spawn one of the versions of the group","<group id>")
37 // if(args.size() <1) return false;
39 // for (uint i=0;i<args.size();++i)
40 // CAISpawnCtrl::spawnGrp(args[i]);
45 //NLMISC_COMMAND(spawnMgrs,"spawn the population of one or more mgrs","[<mgr id>[...]]")
47 // if(args.size() <1) return false;
49 // for (uint i=0;i<args.size();++i)
50 // CAISpawnCtrl::spawnMgr(args[i]);
55 //NLMISC_COMMAND(spawnMaps,"spawn the population of one or more continents","[<continent name>[...]]")
57 // if(args.size() <1) return false;
59 // for (uint i=0;i<args.size();++i)
60 // CAISpawnCtrl::spawnMap(args[i]);
65 //NLMISC_COMMAND(spawnAll,"spawn the populations of all managers","")
67 // if(args.size() !=0) return false;
69 // CAISpawnCtrl::spawnAll();
75 //-------------------------------------------------------------------------
76 // DESPAWNING COMMANDS
78 //NLMISC_COMMAND(despawnGrps,"despawn populations of one or more groups","<group id> [<group id>[...]]")
80 // if(args.size() <1) return false;
82 // for (uint i=0;i<args.size();++i)
83 // CAISpawnCtrl::despawnGrp(args[i]);
88 //NLMISC_COMMAND(despawnMgrs,"despawn the populations of one or more mgrs","[<mgr id>[...]]")
90 // if(args.size() <1) return false;
92 // for (uint i=0;i<args.size();++i)
93 // CAISpawnCtrl::despawnMgr(args[i]);
98 //NLMISC_COMMAND(despawnMaps,"despawn the population of one or more continents","[<continent id>[...]]")
100 // if(args.size() <1) return false;
102 // for (uint i=0;i<args.size();++i)
103 // CAISpawnCtrl::despawnMap(args[i]);
108 //NLMISC_COMMAND(despawnAll,"despawn the populations of all managers in service","")
110 // if(args.size() !=0) return false;
112 // CAISpawnCtrl::despawnAll();
117 // THIS LINE EXISTS TO MAKE SURE THE LINKER DOESN'T THROW OUT THIS MODULE AT LINK TIME!!!
118 bool LinkWithAiSpawnCommands
=false;
120 } // end of namespace