C# 클래스 Universe.ScriptEngine.VirtualScript.MaintenanceThread

파일 보기 프로젝트 열기: Virtual-Universe/Virtual-Universe

공개 프로퍼티들

프로퍼티 타입 설명
CmdHandlerQueueIsRunning long
EventProcessorIsRunning bool
MaxScriptThreads int
RunInMainProcessingThread bool
ScriptChangeIsRunning bool
cmdThreadpool Universe.Framework.Utilities.UniverseThreadPool
m_Started bool
scriptChangeThreadpool Universe.Framework.Utilities.UniverseThreadPool
scriptThreadpool Universe.Framework.Utilities.UniverseThreadPool

공개 메소드들

메소드 설명
AddEventSchQIS ( QueueItemStruct QIS, EventPriority priority ) : bool
AddEventSchQueue ( ScriptData ID, string FunctionName, DetectParams qParams, EventPriority priority ) : void
AddScriptChange ( LUStruct items, LoadPriority priority ) : void
CmdHandlerQueue ( ) : void
DisableThreads ( ) : void
EventSchExec ( QueueItemStruct QIS ) : void
EventSchProcessQIS ( QueueItemStruct &QIS ) : bool
MaintenanceThread ( ScriptEngine Engine ) : System
PokeThreads ( UUID itemID ) : void

Makes sure that all the threads that need to be running are running and starts them if they need to be running

RemoveFromEventSchQueue ( ScriptData ID, bool abortcur ) : void
RemoveState ( ScriptData ID ) : void
ScriptChangeQueue ( ) : void

This loop deals with starting and stopping scripts

SetEventSchSetIgnoreNew ( ScriptData ID, bool yes ) : void
StartScripts ( LUStruct items ) : void
Stats ( ) : void
Stop ( ) : void
eventLoop ( ) : void

비공개 메소드들

메소드 설명
DateTimeComparer ( long a, long b ) : int
StartThread ( string thread ) : void

Queue the event loop given by thread

메소드 상세

AddEventSchQIS() 공개 메소드

public AddEventSchQIS ( QueueItemStruct QIS, EventPriority priority ) : bool
QIS QueueItemStruct
priority EventPriority
리턴 bool

AddEventSchQueue() 공개 메소드

public AddEventSchQueue ( ScriptData ID, string FunctionName, DetectParams qParams, EventPriority priority ) : void
ID ScriptData
FunctionName string
qParams DetectParams
priority EventPriority
리턴 void

AddScriptChange() 공개 메소드

public AddScriptChange ( LUStruct items, LoadPriority priority ) : void
items LUStruct
priority LoadPriority
리턴 void

CmdHandlerQueue() 공개 메소드

public CmdHandlerQueue ( ) : void
리턴 void

DisableThreads() 공개 메소드

public DisableThreads ( ) : void
리턴 void

EventSchExec() 공개 메소드

public EventSchExec ( QueueItemStruct QIS ) : void
QIS QueueItemStruct
리턴 void

EventSchProcessQIS() 공개 메소드

public EventSchProcessQIS ( QueueItemStruct &QIS ) : bool
QIS QueueItemStruct
리턴 bool

MaintenanceThread() 공개 메소드

public MaintenanceThread ( ScriptEngine Engine ) : System
Engine ScriptEngine
리턴 System

PokeThreads() 공개 메소드

Makes sure that all the threads that need to be running are running and starts them if they need to be running
public PokeThreads ( UUID itemID ) : void
itemID UUID
리턴 void

RemoveFromEventSchQueue() 공개 메소드

public RemoveFromEventSchQueue ( ScriptData ID, bool abortcur ) : void
ID ScriptData
abortcur bool
리턴 void

RemoveState() 공개 메소드

public RemoveState ( ScriptData ID ) : void
ID ScriptData
리턴 void

ScriptChangeQueue() 공개 메소드

This loop deals with starting and stopping scripts
public ScriptChangeQueue ( ) : void
리턴 void

SetEventSchSetIgnoreNew() 공개 메소드

public SetEventSchSetIgnoreNew ( ScriptData ID, bool yes ) : void
ID ScriptData
yes bool
리턴 void

StartScripts() 공개 메소드

public StartScripts ( LUStruct items ) : void
items LUStruct
리턴 void

Stats() 공개 메소드

public Stats ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void

eventLoop() 공개 메소드

public eventLoop ( ) : void
리턴 void

프로퍼티 상세

CmdHandlerQueueIsRunning 공개적으로 프로퍼티

public long CmdHandlerQueueIsRunning
리턴 long

EventProcessorIsRunning 공개적으로 프로퍼티

public bool EventProcessorIsRunning
리턴 bool

MaxScriptThreads 공개적으로 프로퍼티

public int MaxScriptThreads
리턴 int

RunInMainProcessingThread 공개적으로 프로퍼티

public bool RunInMainProcessingThread
리턴 bool

ScriptChangeIsRunning 공개적으로 프로퍼티

public bool ScriptChangeIsRunning
리턴 bool

cmdThreadpool 공개적으로 프로퍼티

public UniverseThreadPool,Universe.Framework.Utilities cmdThreadpool
리턴 Universe.Framework.Utilities.UniverseThreadPool

m_Started 공개적으로 프로퍼티

public bool m_Started
리턴 bool

scriptChangeThreadpool 공개적으로 프로퍼티

public UniverseThreadPool,Universe.Framework.Utilities scriptChangeThreadpool
리턴 Universe.Framework.Utilities.UniverseThreadPool

scriptThreadpool 공개적으로 프로퍼티

public UniverseThreadPool,Universe.Framework.Utilities scriptThreadpool
리턴 Universe.Framework.Utilities.UniverseThreadPool