[This is preliminary documentation and is subject to change.]
Stores given CopyState at the given slot.
Namespace: fCraftAssembly: fCraft (in fCraft.dll) Version: 0.6.3.5 (0.6.3.5)
Syntax
| C# |
[CanBeNullAttribute] public CopyState SetCopyState( CopyState state, int slot )
Parameters
- state
- CopyState
New content for the given slot. May be a CopyState object, or null.
- slot
- Int32
Slot number. Should be between 0 and (MaxCopySlots-1).
Return Value
Previous contents of the current slot. May be null.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentOutOfRangeException | slot is not between 0 and (MaxCopySlots-1). |