Esempio n. 1
0
 public override EBTStatus btexec()
 {
     Workspace.LogFrames();
     Workspace.HandleRequests();
     if (Workspace.GetAutoHotReload())
     {
         Workspace.HotReload();
     }
     base.btexec();
     if (this.m_bTickAgents)
     {
         this.btexec_agents();
     }
     return(EBTStatus.BT_RUNNING);
 }
Esempio n. 2
0
        public override EBTStatus btexec()
        {
            //behaviac.Profiler.GetInstance().BeginFrame();
            Workspace.LogFrames();
            Workspace.HandleRequests();

            if (Workspace.GetAutoHotReload())
            {
                Workspace.HotReload();
            }

            /*EBTStatus s = */ base.btexec();

            if (this.m_bTickAgents)
            {
                this.btexec_agents();
            }

            //behaviac.Profiler.GetInstance().EndFrame();

            //TODO:return invalid or s?
            return(EBTStatus.BT_RUNNING);
        }