Skip to content

ConnectorProfile ​

Represents a profile that describes a game connector.

Kind: Class

Namespace: ConnectorLib

Public Constructors

ConnectorProfile(string name, Type type, ConnectorType[] connectorTypes, ConnectorVisibility visibility)

Creates a new instance of the ConnectorLib.ConnectorProfile class.

Public Member Functions

void

SetType(Type type)

Sets the type of the connector. This is used to set the ID and type of the connector.

Properties

string

ID

[get, ]

The identifier used by the connector. Normally, this is the class name with the word "Connector" truncated from the end, if present.

string

Name

[get, ]

The name of the connector. This is used for display purposes and should be a human-readable string.

Type

Type

[get, ]

The actual instantiable type of the connector. This is used to create instances of the connector.

ConnectorType[]

ConnectorTypes

[get, ]

The types of connectors that this connector can be used as.

ConnectorVisibility

Visibility

[get, ]

The visibility of the connector. This determines whether the connector is visible to the user or not.