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