Packagenet.user1.reactor
Classpublic final class ModuleType
InheritanceModuleType Inheritance Object

Since : Reactor 1.0.0; named changed from RoomModuleType to ModuleType in Reactor 1.0.2

The ModuleType class is an enumeration of constant values representing different module types for a server-side module. When a room is created with RoomManager's createRoom() method, its modules can be specified via the modules parameter. The ModuleType class enumerates the types of those modules. When a list of modules is loaded via a ModuleListSnapshot object, each module's type is specified in the list of ModuleDefinition objects.

See also

RoomManager.createRoom
RoomModules
ModuleDefinition
ModuleListSnapshot


Public Constants
 ConstantDefined By
  CLASS : String = class
[static] Indicates that a specified module is a server-side class.
ModuleType
  SCRIPT : String = script
[static] Indicates that a specified module is a server-side script.
ModuleType
Constant Descriptions
CLASSConstant
public static const CLASS:String = class

Since : Reactor 1.0.0

Indicates that a specified module is a server-side class.

SCRIPTConstant 
public static const SCRIPT:String = script

Since : Reactor 1.0.0

Indicates that a specified module is a server-side script.