summaryrefslogblamecommitdiffstats
path: root/src/Bindings/LuaFunctions.h
blob: be1d9aaa9fe2157edaf2c24c0d1ce2d5089a1ce4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

            
                   


                 
                             



                                     
                                                                    




                                              
#pragma once

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

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

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

// tolua_end