Class ActionObsoleteAttribute
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
ActionObsoleteAttribute(long)
public ActionObsoleteAttribute(long obsoleteIndex)
Parameters
obsoleteIndex
long
Fields
AffectedPlanet
public readonly Planet? AffectedPlanet
Field Value
ObsoleteIndex
public readonly long ObsoleteIndex