public TickerGroup FindTickerGroupWithID(uint tickerTaskID) { TickerTask tickerTask = FindTickerTaskWithID(tickerTaskID); TickerGroup targetTickerGroup = tickerTask as TickerGroup; return(targetTickerGroup); }
public void Release() { if (m_rootTickerGroup != null) { m_rootTickerGroup.OnRelease(); } m_stopWatch.Stop(); m_rootTickerGroup = null; m_stopWatch = null; m_isNativeLogic = false; m_isSystem = false; m_isOnline = false; m_isServer = false; m_isLogic = false; m_updateTick = 0; m_serverLogicTick = 0; m_logicTickFrameTime = 0; m_logicUpdatePrevTime = 0; m_logicTickerTimeRemain = 0; m_logicTickFrameRate = 0; m_viewTickFrameRate = 0; }
public TickerGroup FindTickerGroupWithID(uint tickerGroupID) { TickerGroup tickerGroup = null; if (m_rootTickerGroup != null) { tickerGroup = m_rootTickerGroup.FindTickerGroupWithID(tickerGroupID); } return(tickerGroup); }
public TickerGroup CreateTickerGroup() { TickerGroup tickerGroup = null; if (m_rootTickerGroup != null) { tickerGroup = m_rootTickerGroup.CreateTickerGroup(); } return(tickerGroup); }
public TickerGroup CreateTickerGroup() { TickerGroup tickerGroup = null; if (m_tickerGroupCreater != null) { tickerGroup = m_tickerGroupCreater(); } if (tickerGroup == null) { tickerGroup = new TickerGroup(); } tickerGroup.Init(this); tickerGroup.m_tickerCreater = m_tickerCreater; tickerGroup.m_tickerGroupCreater = m_tickerGroupCreater; tickerGroup.m_tickerReleaser = m_tickerReleaser; tickerGroup.m_tickerGroupReleaser = m_tickerGroupReleaser; m_tickerTaskList.Add(tickerGroup); return(tickerGroup); }
public TickerManager() { m_rootTickerGroup = new TickerGroup(); m_stopWatch = new Stopwatch(); }