First commit, step 4 completed
This commit is contained in:
+41
@@ -0,0 +1,41 @@
|
||||
local NumericFormatterAPI =
|
||||
{
|
||||
Name = "NumericFormatterAPI",
|
||||
Type = "ScriptObject",
|
||||
ObjectType = "Userdata",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "FormatNumber",
|
||||
Type = "Function",
|
||||
ConstSecretAccessor = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "number", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "formatted", Type = "string", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(NumericFormatterAPI);
|
||||
Reference in New Issue
Block a user