Commit Graph
20 Commits
Author SHA1 Message Date
David Cernat eadcec91be [Utils] Add prefixZeroes method 2017-11-03 19:11:12 +02:00
David Cernat c45bb39e82 [General] Use new tableHelper class, make requires consistent 2017-04-04 00:22:53 +03:00
David Cernat 5a3d322a96 [Utils] Add table.containsKeyValue() for checking nested tables 2017-04-01 04:56:41 +03:00
David Cernat 3d107cc234 [Utils] Rename contains into containsValue and add checkNestedTables arg 2017-03-31 08:26:39 +03:00
David Cernat 31582ea2d3 [Utils] Improve logic in table.fixNumericalKeys() and table.print() 2017-03-29 04:01:23 +03:00
David Cernat 9e2b67401b [Utils] Add table.merge() and table.fixNumericalKeys() 2017-03-29 00:27:43 +03:00
David Cernat b45662a5f6 [Utils] Add table.usesNumericalKeys() 2017-03-28 06:12:06 +03:00
David Cernat 6c4a0de562 [Utils] Add table.isArray() 2017-03-27 20:38:59 +03:00
David Cernat 9e56fdab69 [Utils] Handle booleans correctly in table.print() 2017-03-25 22:09:53 +02:00
David Cernat ebd5c57991 Add table.shallowcopy() and use it when saving player tables to database 2017-03-25 05:41:02 +02:00
David Cernat 979026bc95 Simplify table.removeValue() and table.replaceValue() 2017-03-25 05:16:18 +02:00
David Cernat f3659fa417 Fix table.removeValue() and add table.replaceValue() 2017-03-25 03:37:04 +02:00
David Cernat 0d8c66183b Add table.print function for easily printing table contents 2017-03-22 19:26:18 +02:00
David Cernat be6ca66107 Rename table parameter in custom table functions 2017-03-22 19:24:59 +02:00
David Cernat 4e22e7b0b1 Remove debug print messages 2017-02-18 14:44:19 +02:00
David Cernat 656f6ebb0e Add utility function for getting index of table value matching a pattern 2017-02-18 14:36:36 +02:00
David Cernat 223322873f Add utility functions for handling values in a table 2017-01-20 07:11:20 +02:00
David Cernat 8b817278fb Rename isModuleExists() into doesModuleExist() 2017-01-20 06:48:41 +02:00
Koncord d973d64ce8 Add useful function for check isModuleExists 2016-12-05 21:17:18 +08:00
Koncord 2cc867eaf4 Move string:split to /lib/lua/utils.lua 2016-12-05 21:16:15 +08:00