Table of Contents

Struct PlayerTypeInfo

Namespace
ProjectL.Data
Assembly
Assembly-CSharp.dll

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 Type

The type of the player (Human or some kind of AI).

name string

The display name of the player type.

initPath string

The initialization path for the player, if any.

Properties

DisplayName

The display name of the player type.

public string DisplayName { get; }

Property Value

string

InitPath

The initialization path for the player, if any.

public string? InitPath { get; }

Property Value

string

PlayerType

The type of the player.

public Type PlayerType { get; }

Property Value

Type