Avorion

Avorion

Ikke nok vurderinger
Extended Utility Library
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Mods: Mod
Filstørrelse:
Offentliggjort:
Opdateret:
27.038 KB
24. apr. 2019 kl. 11:59
28. aug. 2021 kl. 7:16
5 ændringsbemærkninger ( vis )

Abonner for at downloade
Extended Utility Library

Beskrivelse
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