Empeld
Empeld plugin documentation.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events
essentials.Systems.Structures.Network.Resources.IResourceProvider< T > Interface Template Reference

Provides resources of a type class More...

Inheritance diagram for essentials.Systems.Structures.Network.Resources.IResourceProvider< T >:
essentials.Systems.Structures.Network.Resources.ContainerStructure< T >

Public Member Functions

bool TryDrainResources (long amount)
 Try to drain a resource of type T for a certain amount More...
 

Detailed Description

Provides resources of a type class

Type Constraints
T :IResource 

Member Function Documentation

bool essentials.Systems.Structures.Network.Resources.IResourceProvider< T >.TryDrainResources ( long  amount)

Try to drain a resource of type T for a certain amount

Returns
true, if drain resources was tryed, false otherwise.
Parameters
amountAmount.

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