Skip to content
This repository has been archived by the owner on May 6, 2021. It is now read-only.

Beta 1.3b

Pre-release
Pre-release
Compare
Choose a tag to compare
@Hexcede Hexcede released this 09 Nov 22:28
· 1 commit to master since this release
10ea39c
  • Added Stack API
  • Stack passed as new argument to all hook functions
  • Added bool Stack:Is(string indexNames...)
  • Added int Stack:Length()
  • Added StackItem Stack:Get(int index)
  • Added Variant StackItem.Value (value at index)
  • Added Variant StackItem.Index (index)
  • Added int StackItem.Position (index numeric position/order)
  • A Stack can be indexed with a numeric position to get the index Variant, or it can be indexed with a string to get the value Variant.

(Internal functions, feel free to mess with them)

  • Added void Stack:Append(index, value) - Only meant to be used internally, don't recommend using it in your code since it will effect the whole stack
  • Added Stack Stack:Clone() - Only meant to be used internally, can be used without any issues