C# Class cleanLayer.Library.Scripts.Script

Show file Open project: Vipeax/cleanLayer

Private Properties

Property Type Description
OnStarted void
OnTerminated void
StartInternal void
TerminateInternal void
Tick void

Public Methods

Method Description
OnStart ( ) : void
OnTerminate ( ) : void
OnTick ( ) : void
Print ( string message ) : void
Script ( string name, string category ) : System
Start ( ) : void
Stop ( ) : void
ToString ( ) : string

Protected Methods

Method Description
Sleep ( int ms ) : void
StartThread ( System.Action action ) : ScriptThread
StopThread ( string reason = null ) : void

Private Methods

Method Description
OnStarted ( ) : void
OnTerminated ( ) : void
StartInternal ( ) : void
TerminateInternal ( string message = "Script terminated" ) : void
Tick ( ) : void

Method Details

OnStart() public method

public OnStart ( ) : void
return void

OnTerminate() public method

public OnTerminate ( ) : void
return void

OnTick() public method

public OnTick ( ) : void
return void

Print() public method

public Print ( string message ) : void
message string
return void

Script() public method

public Script ( string name, string category ) : System
name string
category string
return System

Sleep() protected method

protected Sleep ( int ms ) : void
ms int
return void

Start() public method

public Start ( ) : void
return void

StartThread() protected method

protected StartThread ( System.Action action ) : ScriptThread
action System.Action
return ScriptThread

Stop() public method

public Stop ( ) : void
return void

StopThread() protected method

protected StopThread ( string reason = null ) : void
reason string
return void

ToString() public method

public ToString ( ) : string
return string