Show / Hide Table of Contents

Class SettlementConfigMigration

Inheritance
System.Object
SettlementConfigMigration
Namespace: Eco.Gameplay.Settlements.Internal
Assembly: Eco.Gameplay.dll
Syntax
public static class SettlementConfigMigration : Object

Methods

Migrate(SettlementConfig, JObject)

Migration for the UserConfig from v.0 to v.1. We are using JObject for changes so we need to read, change and populate it once.

Declaration
public static void Migrate(SettlementConfig config, JObject json)
Parameters
Type Name Description
SettlementConfig config
Newtonsoft.Json.Linq.JObject json
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾