Skip to content

Commit

Permalink
Removed test case
Browse files Browse the repository at this point in the history
  • Loading branch information
TracerDS committed Sep 23, 2024
1 parent 8cc8906 commit dbe56a8
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions Server/mods/deathmatch/logic/luadefs/CLuaAccountDefs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,9 @@
#include "CStaticFunctionDefinitions.h"
#include "CScriptArgReader.h"

class TestAbc
{
public:
virtual int a() { return 123; }
};

class TestDef : public TestAbc
{
public:
virtual int a() override { return 456; }
};

void abc(std::unordered_map<std::string, std::unordered_map<std::string, std::variant<float, std::string>>> map)
{
throw LuaFunctionError("Hello, World");
}

void CLuaAccountDefs::LoadFunctions()
{
constexpr static const std::pair<const char*, lua_CFunction> functions[]{
{"abc", ArgumentParser<abc>},

// Log in/out funcs
{"logIn", LogIn},
{"logOut", LogOut},
Expand Down

0 comments on commit dbe56a8

Please sign in to comment.