Avorion

Avorion

Otillräckligt med betyg
Extended Utility Library
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Mods: Mod
Filstorlek
Lades upp
Uppdaterades
27.038 KB
24 apr, 2019 @ 11:59
28 aug, 2021 @ 7:16
5 ändringsnotiser ( visa )

Abonnera för att ladda ner
Extended Utility Library

Beskrivning
A collection of useful functions to handle strings, number or tables.

Usage:
package.path = package.path .. ";data/scripts/lib/?.lua"
include("extutils")

This collection is intended to grow over time. If you have a great idea what I should add to it, feel free to contact me. Maybe i will develop what you are thinking about, or include the function you gave me.

Functions:
spairs - Sort a table by given order.
serialize - transform an object into a source code string. loadstring()() returns the original object.

Credits:
spairs: Michal Kottman [stackoverflow.com]
serialize: Fabien Fleutot [github.com]



Found a bug or need support? You can contact me directly in my Steam chat: https://s.team/chat/AT3fSCye