Empeld
Empeld plugin documentation.
essentials.action.ItemFramework.IItemQuantityBundleable Interface Reference

Denotes an item that can bundle multiple items More...

Inheritance diagram for essentials.action.ItemFramework.IItemQuantityBundleable:
essentials.action.ItemFramework.IItemQuantity essentials.action.ItemFramework.IItem pluginbase.Objects.Syncable.INetSyncable pluginbase.Objects.Syncable.INetWatcher essentials.action.ItemFramework.BlockStackItem essentials.action.ItemFramework.ItemBundle essentials.action.ItemFramework.Interactive.UseableBlockItem

Public Member Functions

IItem RemoveOne ()
 Remove a representation of a single item in the bundle More...
 
void AddOne ()
 Add one item to a given bundle More...
 
- Public Member Functions inherited from essentials.action.ItemFramework.IItemQuantity
bool StacksWith (IItem item)
 Gets whether or not this stack can stack with another item More...
 
IItemQuantity Split (int count)
 Splits the stack into another stack of a count, removing the items from this stack More...
 
- Public Member Functions inherited from essentials.action.ItemFramework.IItem
IReadonlyModel LoadModel ()
 Loads the mesh representing the model in-world More...
 
Bitmap LoadIcon ()
 Loads the bitmap representing the image of the item More...
 
- Public Member Functions inherited from pluginbase.Objects.Syncable.INetSyncable
void ResetWatch ()
 Resets the watch. Overridable to reset all sub-items More...
 
void EncodeTo (BinaryWriter writer, EncodeContext context)
 Encodes to. More...
 
void DecodeFrom (BinaryReader reader, DecodeContext context)
 Decodes from. More...
 
void Persist (IPersistObject obj)
 Persist the network object to a persist object More...
 
void Load (IReadPersistObject obj)
 Load the network object from a persist object More...
 
- Public Member Functions inherited from pluginbase.Objects.Syncable.INetWatcher
void Touch ()
 Touch the class, signalling that a change ocurred More...
 
void TouchRecurse ()
 Touches a class and any sub-classes it may have More...
 

Additional Inherited Members

- Properties inherited from essentials.action.ItemFramework.IItemQuantity
int Quantity [get, set]
 Gets or sets the quantity of the stack More...
 
- Properties inherited from essentials.action.ItemFramework.IItem
string Name [get]
 The human-readable name of the item More...
 
string IconLabel [get]
 Gets the wording that can appear over a icon More...
 
bool ShowNameplate [get]
 Whether or not to show the nameplate above the item More...
 
bool Bounce [get]
 Whether or not the item should bounce in the world More...
 
bool AutoDespawn [get]
 Whether or not the item should be subject to auto-despawn More...
 
TimeSpan AutoDespawnDelay [get]
 The amount of time the auto despawn will take, if set (Overrides global default) More...
 
bool HasGravity [get]
 Whether or not gravity affects the item More...
 
double ViewDistance [get]
 The distance from which the dropped item can be viewed More...
 
- Properties inherited from pluginbase.Objects.Syncable.INetSyncable
INetWatcher Watcher [get, set]
 Who is watching (who to inform of a change) More...
 
bool Modified [get]
 Gets a value indicating whether this pluginbase.Objects.Syncable.INetSyncable is modified. More...
 

Detailed Description

Denotes an item that can bundle multiple items

Member Function Documentation

◆ AddOne()

void essentials.action.ItemFramework.IItemQuantityBundleable.AddOne ( )

◆ RemoveOne()

IItem essentials.action.ItemFramework.IItemQuantityBundleable.RemoveOne ( )

Remove a representation of a single item in the bundle

Returns
The one.

Implemented in essentials.action.ItemFramework.BlockStackItem, and essentials.action.ItemFramework.ItemBundle.


The documentation for this interface was generated from the following file: