Table of Contents

Class PerSaveOptions.MapInfo

Namespace
TinyLife
Assembly
Tiny Life.dll

The information for a map in a save, used by Maps. Additional data can be added due to this class being a MLEM.Data.Json.JsonTypeSafeGenericDataHolder.

[DataContract]
public class PerSaveOptions.MapInfo : JsonTypeSafeGenericDataHolder, IGenericDataHolder
Inheritance
JsonTypeSafeGenericDataHolder
PerSaveOptions.MapInfo
Implements
IGenericDataHolder
Inherited Members
JsonTypeSafeGenericDataHolder.GetDataKeys()
Extension Methods

Constructors

MapInfo(string, bool)

Creates a new map info with the given settings.

public MapInfo(string name, bool custom)

Parameters

name string

The name of the map.

custom bool

Whether the map is custom.

Fields

Custom

Whether the map is custom.

[DataMember]
public readonly bool Custom

Field Value

bool

Name

The name of the map.

[DataMember]
public readonly string Name

Field Value

string

Properties

DisplayName

This map info's display name, which is based on the Name and whether the map is Custom.

public string DisplayName { get; }

Property Value

string