Empeld
Empeld plugin documentation.
pluginbase.Attributes.EmpeldGameAttribute Class Reference

Assembly attribute to describe a preset game mode More...

Inheritance diagram for pluginbase.Attributes.EmpeldGameAttribute:
pluginbase.Attributes.AuthoredAttribute

Public Member Functions

 EmpeldGameAttribute (string name, string worldName, string environmentName, string pluginContextName)
 Describe a game mode of a given type More...
 

Public Attributes

readonly string WorldType
 The name of the world in this game mode More...
 
readonly string EnvironmentType
 The name of the environment in this game mode More...
 
readonly string PluginContextName
 The name of the context in this game mode More...
 

Additional Inherited Members

- Protected Member Functions inherited from pluginbase.Attributes.AuthoredAttribute
 AuthoredAttribute (string name)
 Initializes a new instance of the pluginbase.Attributes.AuthoredAttribute class. More...
 
- Properties inherited from pluginbase.Attributes.AuthoredAttribute
string Name [get]
 The name of the item being authored More...
 
string Author [get, set]
 Gets or sets the name of the author More...
 
string Description [get, set]
 Gets or sets the description of the authored item More...
 
string IconPath [get, set]
 Gets or sets the relative path of an image representing the item More...
 

Detailed Description

Assembly attribute to describe a preset game mode

Attribute: AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)

Constructor & Destructor Documentation

◆ EmpeldGameAttribute()

pluginbase.Attributes.EmpeldGameAttribute.EmpeldGameAttribute ( string  name,
string  worldName,
string  environmentName,
string  pluginContextName 
)

Describe a game mode of a given type

Parameters
nameName of mode
worldNameWorld name.
environmentNameEnvironment name.
pluginContextNamePlugin context name.
34  :base(name)
35  {
36  this.WorldType = worldName;
37  this.EnvironmentType = environmentName;
38  this.PluginContextName = pluginContextName;
39  }
readonly string EnvironmentType
The name of the environment in this game mode
Definition: EmpeldGameAttribute.cs:19
readonly string WorldType
The name of the world in this game mode
Definition: EmpeldGameAttribute.cs:14
readonly string PluginContextName
The name of the context in this game mode
Definition: EmpeldGameAttribute.cs:24

Member Data Documentation

◆ EnvironmentType

readonly string pluginbase.Attributes.EmpeldGameAttribute.EnvironmentType

The name of the environment in this game mode

◆ PluginContextName

readonly string pluginbase.Attributes.EmpeldGameAttribute.PluginContextName

The name of the context in this game mode

◆ WorldType

readonly string pluginbase.Attributes.EmpeldGameAttribute.WorldType

The name of the world in this game mode


The documentation for this class was generated from the following file: