Cocos2dx2.X 下获取当时间

来源:互联网 发布:软件出口骗税 编辑:程序博客网 时间:2024/04/30 04:23
long long getCruTime(){    struct cc_timeval now;    CCTime::gettimeofdayCocos2d(&now, NULL);    return (now.tv_sec * 1000 + now.tv_usec / 1000);}


Mark

这里获取的时系统计时.

0 0
原创粉丝点击