You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
491 B
31 lines
491 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
using Sog;
|
|
|
|
using ProtoCSStruct;
|
|
using Chat;
|
|
namespace Chat
|
|
{
|
|
public class ArenaSvc
|
|
{
|
|
private static long m_lastTickTime;
|
|
public static void OnTick(long nowMs)
|
|
{
|
|
//60秒一次
|
|
if (nowMs - m_lastTickTime < 60000)
|
|
{
|
|
return;
|
|
}
|
|
|
|
m_lastTickTime = nowMs;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
}
|