Skip to content
Newer
Older
100644 35 lines (30 sloc) 1.13 KB
90de8a2 @vilarion refactor entrypoints
authored
1 /*
2 * illarionserver - server for the game Illarion
3 * Copyright 2011 Illarion e.V.
4 *
5 * This file is part of illarionserver.
6 *
7 * illarionserver is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * illarionserver is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with illarionserver. If not, see <http://www.gnu.org/licenses/>.
19 */
869b592 @vilarion added copyright and license information to each source file
authored
20
c81ac7e removed prefix C from files, changed all headers to hpp files
vilarion authored
21 #include "LuaLoginScript.hpp"
22 #include "Character.hpp"
b834c3d @vilarion Loading transitional server version 0.8.5 into git
authored
23 #include "fuse_ptr.hpp"
24
32dbcd3 removed prefix C from class names
vilarion authored
25 LuaLoginScript::LuaLoginScript(std::string filename) throw(ScriptException)
1ee0d79 @vilarion Create a formatting ruleset
authored
26 : LuaScript(filename) {
b834c3d @vilarion Loading transitional server version 0.8.5 into git
authored
27 }
28
32dbcd3 removed prefix C from class names
vilarion authored
29 LuaLoginScript::~LuaLoginScript() throw() {}
b834c3d @vilarion Loading transitional server version 0.8.5 into git
authored
30
90de8a2 @vilarion refactor entrypoints
authored
31 void LuaLoginScript::onLogin(Character *cc) {
32 fuse_ptr<Character> fuse_cc(cc);
33 callEntrypoint("onLogin", fuse_cc);
b834c3d @vilarion Loading transitional server version 0.8.5 into git
authored
34 }
Something went wrong with that request. Please try again.