2012-06-14 09:06:06 -04:00
|
|
|
#pragma once
|
|
|
|
|
2012-09-23 18:09:57 -04:00
|
|
|
#include "MCLogger.h"
|
2012-06-14 09:06:06 -04:00
|
|
|
#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
|