summaryrefslogblamecommitdiffstats
path: root/src/Bindings/LuaFunctions.h
blob: 4f9eab86d6db845727e52c027cc4481895104eba (plain) (tree)
1
2
3

            
                        













                                                              
#pragma once

#include "../MCLogger.h"
#include <time.h>
// tolua_begin

unsigned int GetTime()
{
	return (unsigned int)time(0);
}

std::string GetChar( std::string & a_Str, unsigned int a_Idx )
{
	return std::string(1, a_Str[ a_Idx ]);
}

// tolua_end
clau