Interface IMMOItem

  • All Known Implementing Classes:
    MMOItem

    public interface IMMOItem
    • Method Detail

      • getId

        int getId()
        The unique ID of this item
      • getVariable

        IMMOItemVariable getVariable​(java.lang.String name)
        Retrieves a User Variable from its name.
        Parameters:
        name - The name of the User Variable to be retrieved.
        Returns:
        The MMOItemVariable, or null if no MMOItemVariable with the passed name is associated with this MMOItem.
        See Also:
        getVariables(), MMOItemVariable
      • setVariables

        void setVariables​(java.util.List<IMMOItemVariable> itemVariables)
        private
      • containsVariable

        boolean containsVariable​(java.lang.String name)
        Indicates whether this MMOItem has the specified Item Variable set or not.
        Parameters:
        name - The name of the MMOItemVariable whose existence must be checked.
        Returns:
        true if a MMOItemVariable with the passed name exists for this MMOItem.