Atavism Version 2018.1AGIS API

atavism.agis.plugins
Enum AgisInventoryPlugin.ItemAcquireResult

java.lang.Object
  extended by java.lang.Enum<AgisInventoryPlugin.ItemAcquireResult>
      extended by atavism.agis.plugins.AgisInventoryPlugin.ItemAcquireResult
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AgisInventoryPlugin.ItemAcquireResult>
Enclosing class:
AgisInventoryPlugin

public static enum AgisInventoryPlugin.ItemAcquireResult
extends java.lang.Enum<AgisInventoryPlugin.ItemAcquireResult>


Enum Constant Summary
INSUFFICIENT_CURRENCY
           
ITEM_DOESNT_EXIST
           
STACK_LIMIT_REACHED
           
SUCCESS
           
UNKNOWN_FAILURE
           
 
Method Summary
static AgisInventoryPlugin.ItemAcquireResult valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AgisInventoryPlugin.ItemAcquireResult[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SUCCESS

public static final AgisInventoryPlugin.ItemAcquireResult SUCCESS

INSUFFICIENT_CURRENCY

public static final AgisInventoryPlugin.ItemAcquireResult INSUFFICIENT_CURRENCY

STACK_LIMIT_REACHED

public static final AgisInventoryPlugin.ItemAcquireResult STACK_LIMIT_REACHED

ITEM_DOESNT_EXIST

public static final AgisInventoryPlugin.ItemAcquireResult ITEM_DOESNT_EXIST

UNKNOWN_FAILURE

public static final AgisInventoryPlugin.ItemAcquireResult UNKNOWN_FAILURE
Method Detail

values

public static AgisInventoryPlugin.ItemAcquireResult[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (AgisInventoryPlugin.ItemAcquireResult c : AgisInventoryPlugin.ItemAcquireResult.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AgisInventoryPlugin.ItemAcquireResult valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2018 Dragonsan Studios Sp. z o.o.