forked from MaximumADHD/Roblox-Client-Tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AutocompleteMetadata.xml
2646 lines (2591 loc) · 97.7 KB
/
AutocompleteMetadata.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8" ?>
<StudioAutocomplete>
<LuaLibrary name="math">
<Function name="abs" static="true">
<returns>
<number>The absolute value of x</number>
</returns>
<parameters>
<number name="x" />
</parameters>
<description>Returns the absolute value of x</description>
</Function>
<Function name="acos" static="true">
<returns>
<number>The arc cosine of x</number>
</returns>
<parameters>
<number name="x"></number>
</parameters>
<description>Returns the arc cosine of x</description>
</Function>
<Function name="asin" static="true">
<returns>
<number>The arc sine of x</number>
</returns>
<parameters>
<number name="x"></number>
</parameters>
<description>Returns the arc sine of x</description>
</Function>
<Function name="atan" static="true">
<returns>
<number>The arc tangent of x</number>
</returns>
<parameters>
<number name="x"></number>
</parameters>
<description>Returns the arc tangent of x (in radians)</description>
</Function>
<Function name="atan2" static="true">
<returns>
<number>The arc tangent of y/x (in radians)</number>
</returns>
<parameters>
<number name="y"></number>
<number name="x"></number>
</parameters>
<description>Returns the arc tangent of y/x (in radians), but uses the signs of both parameters to find the quadrant of the result. (It also handles correctly the case of x being zero.</description>
</Function>
<Function name="ceil" static="true">
<returns>
<number>The smallest integer larger than or equal to x.</number>
</returns>
<parameters>
<number name="x"></number>
</parameters>
<description>Returns the smallest integer larger than or equal to x.</description>
</Function>
<Function name="clamp" static="true">
<returns>
<number></number>
</returns>
<parameters>
<number name="x"></number>
<number name="min"></number>
<number name="max"></number>
</parameters>
<description>Returns a number between min and max, inclusive.</description>
</Function>
<Function name="cos" static="true">
<returns>
<number>The cosine of x</number>
</returns>
<parameters>
<number name="x"></number>
</parameters>
<description>Returns the cosine of x (assumed to be in radians).</description>
</Function>
<Function name="cosh" static="true">
<returns>
<number>The hypercolic cosine of x</number>
</returns>
<parameters>
<number name="x"></number>
</parameters>
<description>Returns the hyperbolic cosine of x.</description>
</Function>
<Function name="deg" static="true">
<returns>
<number></number>
</returns>
<parameters>
<number name="x"></number>
</parameters>
<description>Returns the angle x (given in radians) in degrees.</description>
</Function>
<Function name="exp" static="true">
<returns>
<number></number>
</returns>
<parameters>
<number name="x"></number>
</parameters>
<description>Returns the value e^x.</description>
</Function>
<Function name="floor" static="true">
<returns>
<number></number>
</returns>
<parameters>
<number name="x"></number>
</parameters>
<description>Returns the largest integer smaller than or equal to x.</description>
</Function>
<Function name="fmod" static="true">
<returns>
<number></number>
</returns>
<parameters>
<number name="x"></number>
<number name="y"></number>
</parameters>
<description>Returns the remainder of the division of x by y that rounds the quotient towards zero.</description>
</Function>
<Function name="frexp" static="true">
<returns>
<number>m</number>
<number>e</number>
</returns>
<parameters>
<number name="x"></number>
</parameters>
<description>Returns m and e such that x = m2^e, e is an integer and the absolute value of m is in the range [0.5, 1) (or zero when x is zero).</description>
</Function>
<Function name="ldexp" static="true">
<returns>
<number>m2^e</number>
</returns>
<parameters>
<number name="x"></number>
<number name="e"></number>
</parameters>
<description>Returns m2^e (e should be an integer).</description>
</Function>
<Function name="log" static="true">
<returns>
<number></number>
</returns>
<parameters>
<number name="x"></number>
<number name="base" optional="true"></number>
</parameters>
<description>Returns the logarithm of x in the given base. The default for base is e (so that the function returns the natural logarithm of x).</description>
</Function>
<Function name="log10" static="true">
<returns>
<number></number>
</returns>
<parameters>
<number name="x"></number>
</parameters>
<description>Returns the base-10 logarithm of x.</description>
</Function>
<Function name="max" static="true">
<returns>
<number>The maximum of all arguments</number>
</returns>
<parameters>
<number name="x"></number>
<number name="..." optional="true"></number>
</parameters>
<description>Returns the maximum value among its arguments.</description>
</Function>
<Function name="min" static="true">
<returns>
<number>The minimum of all arguments</number>
</returns>
<parameters>
<number name="x"></number>
<number name="..." optional="true"></number>
</parameters>
<description>Returns the minimum value among its arguments.</description>
</Function>
<Function name="modf" static="true">
<returns>
<number>Integral part of x</number>
<number>Fractional part of x</number>
</returns>
<parameters>
<number name="x"></number>
</parameters>
<description>Returns two numbers, the integral part of x and the fractional part of x.</description>
</Function>
<Function name="noise" static="true">
<returns>
<number></number>
</returns>
<parameters>
<number name="x"></number>
<number name="y" optional="true"></number>
<number name="z" optional="true"></number>
</parameters>
<description>Returns a value between -0.5 and 0.5 generated from its arguments.</description>
</Function>
<Function name="pow" static="true">
<returns>
<number></number>
</returns>
<parameters>
<number name="x"></number>
<number name="y"></number>
</parameters>
<description>Returns x^y. (You can also use the expression x^y to compute this value.)</description>
</Function>
<Function name="rad" static="true">
<returns>
<number></number>
</returns>
<parameters>
<number name="x"></number>
</parameters>
<description>Returns the angle x (given in degrees) in radians.</description>
</Function>
<Function name="random" static="true">
<returns>
<number></number>
</returns>
<parameters>
<number name="m"></number>
<number name="n" optional="true"></number>
</parameters>
<description>
This function is an interface to the simple pseudo-random generator function rand provided
by ANSI C. (No guarantees can be given for its statistical properties.) When called without arguments,
returns a uniform pseudo-random real number in the range [0,1). When called with an integer number m, math.random
returns a uniform pseudo-random integer in the range [1, m]. When called with two integer numbers m and
n, math.random returns a uniform pseudo-random integer in the range [m, n].
</description>
</Function>
<Function name="randomseed" static="true">
<returns>
<number></number>
</returns>
<parameters>
<number name="x"></number>
</parameters>
<description>Sets x as the seed for the pseudo-random generator: equal seeds produce equal sequences of numbers.</description>
</Function>
<Function name="sign" static="true">
<returns>
<number></number>
</returns>
<parameters>
<number name="x"></number>
</parameters>
<description>Returns -1 if x < 0, 0 if x == 0, or 1 if x > 0.</description>
</Function>
<Function name="sin" static="true">
<returns>
<number></number>
</returns>
<parameters>
<number name="x"></number>
</parameters>
<description>Returns the sine of x (assumed to be in radians).</description>
</Function>
<Function name="sinh" static="true">
<returns>
<number></number>
</returns>
<parameters>
<number name="x"></number>
</parameters>
<description>Returns the hyperbolic sine of x.</description>
</Function>
<Function name="sqrt" static="true">
<returns>
<number></number>
</returns>
<parameters>
<number name="x"></number>
</parameters>
<description>Returns the square root of x. (You can also use the expression x^0.5 to compute this value.)</description>
</Function>
<Function name="tan" static="true">
<returns>
<number></number>
</returns>
<parameters>
<number name="x"></number>
</parameters>
<description>Returns the tangent of x (assumed to be in radians).</description>
</Function>
<Function name="tanh" static="true">
<returns>
<number></number>
</returns>
<parameters>
<number name="x"></number>
</parameters>
<description>Returns the hyperbolic tangent of x.</description>
</Function>
<Properties>
<number name="huge" static="true">The value HUGE_VAL, a value larger than or equal to any other numerical value.</number>
<number name="pi" static="true">The value of pi.</number>
</Properties>
</LuaLibrary>
<LuaLibrary name="debug">
<Function name="info" static="true">
<parameters>
<number name="level"></number>
<string name="options"></string>
</parameters>
<returns>
<value name="..."></value>
</returns>
<description>Returns debug information about a given stack frame or function object based on the options string (that can contain characters nslfa).</description>
</Function>
<Function name="traceback" static="true">
<returns>
<string></string>
</returns>
<description>Returns a traceback of the current thread, similar to the one in the output on error.</description>
</Function>
<Function name="profilebegin" static="true">
<description>Opens a microprofiler label.</description>
</Function>
<Function name="profileend" static="true">
<description>Closes the top microprofiler label.</description>
</Function>
<Function name="setmemorycategory" static="true">
<description>Sets the memory category tag of the current thread. Future allocations performed by this thread will use this tag.</description>
</Function>
<Function name="resetmemorycategory" static="true">
<description>Resets the memory category tag of the current thread to the default auto-assigned tag that was based on script name.</description>
</Function>
</LuaLibrary>
<LuaLibrary name="string">
<Function name="byte" static="true">
<returns>
<string></string>
</returns>
<parameters>
<string name="s"></string>
<number name="i" optional="true" default="1"></number>
<number name="j" optional="true" default="i"></number>
</parameters>
<description>
Returns the internal numerical codes of the characters s[i], s[i+1], ..., s[j]. The default value for
i is 1; the default value for j is i. These indices are corrected following the same rules of function
string.sub.
</description>
</Function>
<Function name="char" static="true">
<returns>
<string></string>
</returns>
<parameters>
<number name="..."></number>
</parameters>
<description>
Receives zero or more integers. Returns a string with length equal to the number of arguments, in
which each character has the internal numerical code equal to its corresponding argument.
</description>
</Function>
<Function name="find" static="true">
<returns>
<number>The indices of s where find occured, otherwise nil</number>
</returns>
<parameters>
<string name="s">String to search</string>
<string name="pattern">Pattern to look for in s</string>
<number name="init" optional="true" default="1">Where to start search</number>
<number name="plain" optional="true" default="false">Whether the search should plain text search only</number>
</parameters>
<description>
Looks for the first match of pattern in the string s. If it finds a match, then find
returns the indices of s where this occurrence starts and ends; otherwise, it returns
nil. A third, optional numerical argument init specifies where to start the search; its
default value is 1 and can be negative. A value of true as a fourth, optional argument
plain turns off the pattern matching facilities, so the function does a plain 'find=''
substring=''' operation"
</description>
</Function>
<Function name="format" static="true">
<returns>
<string></string>
</returns>
<parameters>
<string name="formatstring"></string>
<string name="..."></string>
</parameters>
<description>
Returns a formatted version of its variable number of arguments following the description given in its first argument (which must be a string).
</description>
</Function>
<Function name="gmatch" static="true">
<returns>
<function></function>
</returns>
<parameters>
<string name="s"></string>
<string name="pattern"></string>
</parameters>
<description>
Returns an iterator function that, each time it is called, returns the next captures from pattern over the string s.
</description>
</Function>
<Function name="gsub" static="true">
<returns>
<string></string>
</returns>
<parameters>
<string name="s"></string>
<string name="pattern"></string>
<nil name="repl">
If repl is a string, then its value is used for replacement. If repl is a table, then the table is queried for
every match, using the first capture as the key; if the pattern specifies no captures, then the whole match is
used as the key. If repl is a function, then this function is called every time a match occurs, with all captured
substrings passed as arguments, in order; if the pattern specifies no captures, then the whole match is passed as a sole argument.
</nil>
<string name="n" optional="true">
Limits the maximum number of substitutions to occur
</string>
</parameters>
<description>
Returns a copy of s in which all (or the first n, if given) occurrences of the pattern have been replaced
by a replacement string specified by repl, which can be a string, a table, or a function. gsub also returns,
as its second value, the total number of matches that occurred.
</description>
</Function>
<Function name="len" static="true">
<returns>
<number></number>
</returns>
<parameters>
<string name="s"></string>
</parameters>
<description>Receives a string and returns its length.</description>
</Function>
<Function name="lower" static="true">
<returns>
<string></string>
</returns>
<parameters>
<string name="s"></string>
</parameters>
<description>Receives a string and returns a copy of this string with all uppercase letters changed to lowercase.</description>
</Function>
<Function name="match" static="true">
<returns>
<string></string>
</returns>
<parameters>
<string name="s"></string>
<string name="pattern"></string>
<string name="init" optional="true"></string>
</parameters>
<description>
Looks for the first match of pattern in the string s. If a match is found, it is returned; otherwise, it returns nil.
A third, optional numerical argument init specifies where to start the search; its default value is 1 and can be negative.
</description>
</Function>
<Function name="rep" static="true">
<returns>
<string></string>
</returns>
<parameters>
<string name="s"></string>
<string name="n"></string>
<string name="sep" optioanl="true"></string>
</parameters>
<description>Returns a string that is the concatenation of n copies of the string s separated by the string sep.</description>
</Function>
<Function name="reverse" static="true">
<returns>
<string></string>
</returns>
<parameters>
<string name="s"></string>
</parameters>
<description>Returns a string that is the string s reversed.</description>
</Function>
<Function name="sub" static="true">
<returns>
<string></string>
</returns>
<parameters>
<string name="s"></string>
<string name="i"></string>
<string name="j" optioanl="true"></string>
</parameters>
<description>
Returns the substring of s that starts at i and continues until j; i and j can be negative. If j is absent,
then it is assumed to be equal to -1 (which is the same as the string length).
</description>
</Function>
<Function name="upper" static="true">
<returns>
<string></string>
</returns>
<parameters>
<string name="s"></string>
</parameters>
<description>Receives a string and returns a copy of this string with all lowercase letters changed to uppercase. All other characters are left unchanged.</description>
</Function>
<Function name="split" static="true">
<returns>
<table></table>
</returns>
<parameters>
<string name="s"></string>
<string name="separator" optional="true"></string>
</parameters>
<description>Splits a string into parts based on the defined separator character(s), returning a table of ordered results. The default separator is comma (,).</description>
</Function>
<Function name="pack" static="true">
<returns>
<string></string>
</returns>
<parameters>
<string name="fmt"></string>
<value name="..."></value>
</parameters>
<description>Returns a binary string containing the values packed (that is, serialized in binary form) according to the format string fmt.</description>
</Function>
<Function name="packsize" static="true">
<returns>
<number></number>
</returns>
<parameters>
<string name="fmt"></string>
</parameters>
<description>Returns the size of a string resulting from string.pack with the given format. The format string cannot have the variable-length options 's' or 'z'.</description>
</Function>
<Function name="unpack" static="true">
<returns>
<value name="..."></value>
</returns>
<parameters>
<string name="fmt"></string>
<string name="s"></string>
<number name="pos" optional="true"></number>
</parameters>
<description>Returns the values packed in string s (see string.pack) according to the format string fmt. An optional pos marks where to start reading in s (default is 1). After the read values, this function also returns the index of the first unread byte in s.</description>
</Function>
</LuaLibrary>
<LuaLibrary name="table">
<Function name="concat" static="true">
<returns>
<string></string>
</returns>
<parameters>
<string name="list"></string>
<string name="sep" optional="true"></string>
<string name="i" optional="true"></string>
<string name="j" optional="true"></string>
</parameters>
<description>
Given a list where all elements are strings or numbers, returns the string list[i]..sep..list[i+1] ... sep..list[j].
The default value for sep is the empty string, the default for i is 1, and the default for j is #list. If i is greater
than j, returns the empty string.
</description>
</Function>
<Function name="foreach" static="true">
<parameters>
<table name="table"></table>
<function name="f"></function>
</parameters>
<description>Apply the function f to the elements of the table passed</description>
</Function>
<Function name="foreachi" static="true">
<parameters>
<table name="table"></table>
<function name="f"></function>
</parameters>
<description>This is similar to table.foreach() except that index-value pairs are passed, not key-value pairs.</description>
</Function>
<Function name="getn" static="true">
<returns>
<number></number>
</returns>
<parameters>
<table name="table"></table>
</parameters>
<description>Returns the number of elements in the table passed</description>
</Function>
<Function name="insert" static="true">
<parameters>
<table name="list"></table>
<number name="pos" optional="true"></number>
<value name="value"></value>
</parameters>
<description>
Inserts element value at position pos in list, shifting up the elements list[pos], list[pos+1], ..., list[#list].
The default value for pos is #list+1, so that a call table.insert(t,x) inserts x at the end of list t.
</description>
</Function>
<Function name="remove" static="true">
<returns>
<value></value>
</returns>
<parameters>
<table name="list"></table>
<number name="pos" optional="true"></number>
</parameters>
<description>
Removes from list the element at position pos, returning the value of the removed element. When pos is an integer between
1 and #list, it shifts down the elements list[pos+1], list[pos+2], ..., list[#list] and erases element list[#list]; The
index pos can also be 0 when #list is 0, or #list + 1; in those cases, the function erases the element list[pos].
</description>
</Function>
<Function name="sort" static="true">
<returns>
<bool></bool>
</returns>
<parameters>
<table name="list"></table>
<number name="comp" optional="true"></number>
</parameters>
<description>
Sorts list elements in a given order, in-place, from list[1] to list[#list]. If comp is given, then it must be a function
that receives two list elements and returns true when the first element must come before the second in the final order (so
that not comp(list[i+1],list[i]) will be true after the sort). If comp is not given, then the standard Lua operator
[less than] is used instead.
</description>
</Function>
<Function name="pack" static="true">
<returns>
<table></table>
</returns>
<parameters>
<value name="..."></value>
</parameters>
<description>
Returns a new table with all arguments stored into keys 1, 2, etc. and with a field "n" with the total number of arguments.
</description>
</Function>
<Function name="unpack" static="true">
<returns>
<value name="..."></value>
</returns>
<parameters>
<table name="list"></table>
<number name="i" optional="true"></number>
<number name="j" optional="true"></number>
</parameters>
<description>
Returns the elements from the given list between positions i and j. By default, i is 1 and j is #list.
</description>
</Function>
<Function name="move" static="true">
<returns>
<table></table>
</returns>
<parameters>
<table name="a1"></table>
<number name="f"></number>
<number name="e"></number>
<number name="t"></number>
<table name="a2" optional="true"></table>
</parameters>
<description>
Moves elements from table a1 to table a2, moving elements in the positions between f and e from a1 to positions starting from t in a2.
The default for a2 is a1. The destination range can overlap with the source range.
</description>
</Function>
<Function name="create" static="true">
<returns>
<table></table>
</returns>
<parameters>
<number name="count"></number>
<value name="value" optional="true"></value>
</parameters>
<description>
Creates an array-like table with count values, initialized to value.
When value is nil or omitted, the resulting table has length 0, but has preallocated storage for count elements.
</description>
</Function>
<Function name="find" static="true">
<returns>
<value></value>
</returns>
<parameters>
<table name="table"></table>
<value name="value"></value>
<number name="init" optional="true"></number>
</parameters>
<description>
Returns the numeric index of the first occurence of value, starting from init, or nil if value isn't present in the table.
The default for init is 1.
</description>
</Function>
<Function name="clear" static="true">
<parameters>
<table name="table"></table>
</parameters>
<description>
Clears all keys from the table, but leaves their capacity allocated so that future keys added to the table can re-use that storage, avoiding additional allocations.
</description>
</Function>
</LuaLibrary>
<LuaLibrary name="coroutine">
<Function name="create" static="true">
<returns>
<thread></thread>
</returns>
<parameters>
<function name="f"></function>
</parameters>
<description>Creates a new coroutine, with body f. f must be a Lua function.</description>
</Function>
<Function name="resume" static="true">
<returns>
<bool></bool>
</returns>
<parameters>
<thread name="co"></thread>
<variant name="val1" optional="true"></variant>
<variant name="..." optional="true"></variant>
</parameters>
<description>
Starts or continues the execution of coroutine co. The first time you resume a coroutine, it starts running its body. The values
val1, ... are passed as the arguments to the body function. If the coroutine has yielded, resume restarts it; the values val1,
... are passed as the results from the yield. If the coroutine runs without any errors, resume returns true plus any values
passed to yield (if the coroutine yields) or any values returned by the body function (if the coroutine terminates). If there is
any error, resume returns false plus the error message.
</description>
</Function>
<Function name="running" static="true">
<returns>
<thread></thread>
</returns>
<description>Returns the running coroutine.</description>
</Function>
<Function name="status" static="true">
<returns>
<string></string>
</returns>
<parameters>
<thread name="co"></thread>
</parameters>
<description>
Returns the status of coroutine co, as a string: 'running', if the coroutine is running (that is, it called status); 'suspended',
if the coroutine is suspended in a call to yield, or if it has not started running yet; 'normal' if the coroutine is active but
not running (that is, it has resumed another coroutine); and 'dead' if the coroutine has finished its body function, or if it has
stopped with an error.
</description>
</Function>
<Function name="wrap" static="true">
<returns>
<function></function>
</returns>
<parameters>
<function name="f"></function>
</parameters>
<description>
Creates a new coroutine, with body f. f must be a Lua function. Returns a function that resumes the coroutine each time it is
called. Any arguments passed to the function behave as the extra arguments to resume. Returns the same values returned by resume,
except the first boolean. In case of error, propagates the error.
</description>
</Function>
<Function name="yield" static="true">
<parameters>
<variant name="..."></variant>
</parameters>
<description>Suspends the execution of the calling coroutine. Any arguments to yield are passed as extra results to resume.</description>
</Function>
<Function name="isyieldable" static="true">
<returns>
<bool></bool>
</returns>
<description>
Returns true when the running coroutine can yield.
A running coroutine is yieldable if it is not the main thread and it is not inside a non-yieldable C function.
</description>
</Function>
</LuaLibrary>
<LuaLibrary name="utf8">
<Function name="char" static="true">
<returns>
<string></string>
</returns>
<parameters>
<number name="..."></number>
</parameters>
<description>
Receives zero or more codepoints as integers, converts each one to its corresponding UTF-8 byte sequence and returns astring with the
concatenation of all these sequences."
</description>
</Function>
<Function name="codes" static="true">
<returns>
<function></function>
</returns>
<parameters>
<string name="s"></string>
</parameters>
<description>
Returns values so that the construction [for p, c in utf8.codes(s) do body end] will iterate over all codepoints in string s, with p
being the position (in bytes) and c the code point of each character. It raises an error if it meets any invalid byte sequence.
</description>
</Function>
<Function name="codepoint" static="true">
<returns>
<number variable="true"></number>
</returns>
<parameters>
<string name="s"></string>
<number name="i" optional="true"></number>
<number name="j" optional="true"></number>
</parameters>
<description>
Returns the codepoints (as integers) from all codepoints in s that start between byte position i and j (both included). The default
for i is 1 and for j is i. It raises an error if it meets any invalid byte sequence.
</description>
</Function>
<Function name="len" static="true">
<returns>
<number></number>
<number></number>
</returns>
<parameters>
<string name="s"></string>
<number name="i" optional="true"></number>
<number name="j" optional="true"></number>
</parameters>
<description>
Returns the number of UTF-8 codepoints in string s that start between positions i and j (both inclusive). The default for i is 1 and
for j is -1. If it finds any invalid byte sequence, returns a false value plus the position of the first invalid byte.
</description>
</Function>
<Function name="offset" static="true">
<returns>
<number></number>
</returns>
<parameters>
<string name="s"></string>
<number name="n"></number>
<number name="i" optional="true"></number>
</parameters>
<description>
Returns the position (in bytes) where the encoding of the n-th codepoint of s (counting from byte position i) starts. A negative n gets
characters before position i. The default for i is 1 when n is non-negative and #s + 1 otherwise, so that utf8.offset(s, -n) gets the
offset of the n-th character from the end of the string. If the specified character is neither in the subject nor right after its end,
the function returns nil.
</description>
</Function>
<Function name="graphemes" static="true">
<returns>
<iterator></iterator>
</returns>
<parameters>
<string name="s"></string>
<number name="i" optional="true"></number>
<number name="j" optional="true"></number>
</parameters>
<description>
Returns values so that `for first, last in utf8.graphemes(s) do local grapheme = s:sub(first, last) end` will iterate the grapheme
clusters of the string.
</description>
</Function>
<Function name="nfcnormalize" static="true">
<returns>
<string></string>
</returns>
<parameters>
<string name="s"></string>
</parameters>
<description>
Converts the input string to Normal Form C, which tries to convert decomposed characters into composed characters.
</description>
</Function>
<Function name="nfdnormalize" static="true">
<returns>
<string></string>
</returns>
<parameters>
<string name="s"></string>
</parameters>
<description>
Converts the input string to Normal Form D, which tries to break up composed characters into decomposed characters.
</description>
</Function>
<Properties>
<string name="charpattern" static="true">
The pattern "[%z-\x7F\xC2-\xF4][\x80-\xBF]", which matches exactly one UTF-8 byte sequence, assuming that the subject is a valid UTF-8 string.
</string>
</Properties>
</LuaLibrary>
<LuaLibrary name="os">
<Function name="time" static="true">
<returns>
<number></number>
</returns>
<description>Returns the number of seconds since the epoch (1 January 1970, 00:00:00)</description>
</Function>
<Function name="clock" static="true">
<returns>
<number></number>
</returns>
<description>Returns the amount of CPU time used by Lua in seconds. This value has high precision, about 1 microsecond, and is intended for use in benchmarking.</description>
</Function>
<Function name="difftime" static="true">
<returns>
<number></number>
</returns>
<parameters>
<number name="t1"></number>
<number name="t2"></number>
</parameters>
<description>Returns the number of seconds from t1 to t2</description>
</Function>
<Function name="date" static="true">
<returns>
<dictionary></dictionary>
</returns>
<parameters>
<string name="formatString" optional="true"></string>
<number name="time" optional="true"></number>
</parameters>
<description>
Returns a table containing the components (year, hour, etc.) of the date. The formatString must be either *t or !*t, and time is
the same as the return value of os.time(), defaulting to now.
</description>
</Function>
</LuaLibrary>
<LuaLibrary name="bit32">
<Function name="arshift" static="true">
<returns>
<number></number>
</returns>
<parameters>
<number name="x"></number>
<number name="disp"></number>
</parameters>
<description>
Returns the number x shifted disp bits to the right. The number disp may be any representable integer. Negative displacements shift to the left.
This shift operation is what is called arithmetic shift. Vacant bits on the left are filled with copies of the higher bit of x; vacant bits on the right are filled with zeros. In particular, displacements with absolute values higher than 31 result in zero or 0xFFFFFFFF (all original bits are shifted out).
</description>
</Function>
<Function name="band" static="true">
<returns>
<number></number>
</returns>
<parameters>
<number name="..."></number>
</parameters>
<description>
Returns the bitwise and of its operands.
</description>
</Function>
<Function name="bnot" static="true">
<returns>
<number></number>
</returns>
<parameters>
<number name="x"></number>
</parameters>
<description>
Returns the bitwise negation of x. Note that the result is a non-negative integer (e.g. bit32.bnot(0) = 0xFFFFFFFF, not -1)
</description>
</Function>
<Function name="bor" static="true">
<returns>
<number></number>
</returns>
<parameters>
<number name="..."></number>
</parameters>
<description>
Returns the bitwise or of its operands.
</description>
</Function>
<Function name="btest" static="true">
<returns>
<number></number>
</returns>
<parameters>
<number name="..."></number>
</parameters>
<description>
Returns a boolean signaling whether the bitwise and of its operands is different from zero.
</description>
</Function>
<Function name="bxor" static="true">
<returns>
<number></number>
</returns>
<parameters>
<number name="..."></number>
</parameters>