C# Class cleanLayer.Library.Scripts.Script

Afficher le fichier Open project: Vipeax/cleanLayer

Private Properties

Свойство Type Description
OnStarted void
OnTerminated void
StartInternal void
TerminateInternal void
Tick void

Méthodes publiques

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

Méthodes protégées

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

Private Methods

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

Method Details

OnStart() public méthode

public OnStart ( ) : void
Résultat void

OnTerminate() public méthode

public OnTerminate ( ) : void
Résultat void

OnTick() public méthode

public OnTick ( ) : void
Résultat void

Print() public méthode

public Print ( string message ) : void
message string
Résultat void

Script() public méthode

public Script ( string name, string category ) : System
name string
category string
Résultat System

Sleep() protected méthode

protected Sleep ( int ms ) : void
ms int
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

StartThread() protected méthode

protected StartThread ( System.Action action ) : ScriptThread
action System.Action
Résultat ScriptThread

Stop() public méthode

public Stop ( ) : void
Résultat void

StopThread() protected méthode

protected StopThread ( string reason = null ) : void
reason string
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string