summaryrefslogblamecommitdiffstats
path: root/source/LuaFunctions.h
blob: 66a50598042af9813309a4eaf22eeaf73b379901 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                              
#pragma once

#include "cMCLogger.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