Struct PlayerTypeInfo
Represents information about a loaded player type.
public readonly struct PlayerTypeInfo
- Inherited Members
Constructors
PlayerTypeInfo(Type, string, string?)
Initializes a new instance of the PlayerTypeInfo struct.
public PlayerTypeInfo(Type type, string name, string? initPath)
Parameters
type
TypeThe type of the player (Human or some kind of AI).
name
stringThe display name of the player type.
initPath
stringThe initialization path for the player, if any.
Properties
DisplayName
The display name of the player type.
public string DisplayName { get; }
Property Value
InitPath
The initialization path for the player, if any.
public string? InitPath { get; }
Property Value
PlayerType
The type of the player.
public Type PlayerType { get; }