SmartEngine  1.6.0
Public Types | Properties | List of all members
SmartEngine.Helpers.TrainingTask Class Reference

Represents an individual piece of work that a client can take on. In the case of genetic training, this might be a single play of the game for some given chromosomes. More...

Inheritance diagram for SmartEngine.Helpers.TrainingTask:
SmartEngine.Networking.Message SmartEngine.Helpers.GeneticTrainingTask

Public Types

enum  TaskState { TaskState.NotEvaluated, TaskState.Evaluating, TaskState.Evaluated }
 

Properties

int ID [get, set]
 Unique ID for the task More...
 
TaskState State [get, set]
 Current State More...
 

Additional Inherited Members

- Public Member Functions inherited from SmartEngine.Networking.Message
virtual void Serialize (MemoryBuffer writer)
 
virtual void Deserialize (MemoryBuffer reader)
 
- Static Public Attributes inherited from SmartEngine.Networking.Message
const int MaxMessageSize = 5 * 1024 * 1024
 

Detailed Description

Represents an individual piece of work that a client can take on. In the case of genetic training, this might be a single play of the game for some given chromosomes.

Member Enumeration Documentation

◆ TaskState

Enumerator
NotEvaluated 

Task has not be picked up yet

Evaluating 

A client has been given the task and is currently working on it

Evaluated 

A client has completed the task

Property Documentation

◆ ID

int SmartEngine.Helpers.TrainingTask.ID
getset

Unique ID for the task

◆ State

TaskState SmartEngine.Helpers.TrainingTask.State
getset

Current State