Table of Contents

Class ActionObsoleteAttribute

Namespace
Nekoyume.Action
Assembly
Lib9c.dll

An attribute on an Libplanet.Action.IAction to indicate that such Libplanet.Action.IAction is obsoleted after a certain index.

Due to a bug introduced earlier and to keep backward compatibility, an Libplanet.Action.IAction with this attribute is obsoleted, i.e. cannot be included, starting from ObsoleteIndex + 2.

[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class ActionObsoleteAttribute : Attribute
Inheritance
ActionObsoleteAttribute
Inherited Members

Constructors

ActionObsoleteAttribute(Planet, long)

public ActionObsoleteAttribute(Planet planet, long obsoleteIndex)

Parameters

planet Planet
obsoleteIndex long

ActionObsoleteAttribute(long)

public ActionObsoleteAttribute(long obsoleteIndex)

Parameters

obsoleteIndex long

Fields

AffectedPlanet

public readonly Planet? AffectedPlanet

Field Value

Planet?

ObsoleteIndex

public readonly long ObsoleteIndex

Field Value

long