|
1 | | ---- a/source/cpp/naming_conventions/naming_conventions.cpp |
2 | | -+++ b/source/cpp/naming_conventions/naming_conventions.cpp |
3 | | -@@ -137,6 +137,56 @@ void NamingConventionManager::InitializeUNC() { |
4 | | - RegisterAlias("WebSocket", "WebSocket", ConventionType::UNC, "WebSocket library"); |
5 | | - RegisterAlias("WebSocket.connect", "WebSocket.connect", ConventionType::UNC, "Connect to a WebSocket server"); |
6 | | - |
7 | | -+ // Cryptography functions |
8 | | -+ RegisterAlias("crypt.base64decode", "crypt.base64decode", ConventionType::UNC, "Decode base64 data"); |
9 | | -+ RegisterAlias("crypt.base64encode", "crypt.base64encode", ConventionType::UNC, "Encode data as base64"); |
10 | | -+ RegisterAlias("crypt.decrypt", "crypt.decrypt", ConventionType::UNC, "Decrypt data"); |
11 | | -+ RegisterAlias("crypt.encrypt", "crypt.encrypt", ConventionType::UNC, "Encrypt data"); |
12 | | -+ RegisterAlias("crypt.generatebytes", "crypt.generatebytes", ConventionType::UNC, "Generate random bytes"); |
13 | | -+ RegisterAlias("crypt.generatekey", "crypt.generatekey", ConventionType::UNC, "Generate a cryptographic key"); |
14 | | -+ RegisterAlias("crypt.hash", "crypt.hash", ConventionType::UNC, "Hash data"); |
15 | | -+ |
16 | | -+ // Debug functions |
17 | | -+ RegisterAlias("debug.getconstant", "debug.getconstant", ConventionType::UNC, "Get a constant from a function"); |
18 | | -+ RegisterAlias("debug.getconstants", "debug.getconstants", ConventionType::UNC, "Get all constants from a function"); |
19 | | -+ RegisterAlias("debug.getinfo", "debug.getinfo", ConventionType::UNC, "Get information about a function"); |
20 | | -+ RegisterAlias("debug.getproto", "debug.getproto", ConventionType::UNC, "Get a proto from a function"); |
21 | | -+ RegisterAlias("debug.getprotos", "debug.getprotos", ConventionType::UNC, "Get all protos from a function"); |
22 | | -+ RegisterAlias("debug.getstack", "debug.getstack", ConventionType::UNC, "Get the stack of a thread"); |
23 | | -+ RegisterAlias("debug.getupvalue", "debug.getupvalue", ConventionType::UNC, "Get an upvalue from a function"); |
24 | | -+ RegisterAlias("debug.getupvalues", "debug.getupvalues", ConventionType::UNC, "Get all upvalues from a function"); |
25 | | -+ RegisterAlias("debug.print", "debug.print", ConventionType::UNC, "Print debug information"); |
26 | | -+ RegisterAlias("debug.setconstant", "debug.setconstant", ConventionType::UNC, "Set a constant in a function"); |
27 | | -+ RegisterAlias("debug.setstack", "debug.setstack", ConventionType::UNC, "Set a value in the stack"); |
28 | | -+ RegisterAlias("debug.setupvalue", "debug.setupvalue", ConventionType::UNC, "Set an upvalue in a function"); |
29 | | -+ |
30 | | -+ // File system functions |
31 | | -+ RegisterAlias("appendfile", "appendfile", ConventionType::UNC, "Append to a file"); |
32 | | -+ RegisterAlias("delfile", "delfile", ConventionType::UNC, "Delete a file"); |
33 | | -+ RegisterAlias("delfolder", "delfolder", ConventionType::UNC, "Delete a folder"); |
34 | | -+ RegisterAlias("dofile", "dofile", ConventionType::UNC, "Execute a file"); |
35 | | -+ RegisterAlias("isfile", "isfile", ConventionType::UNC, "Check if a file exists"); |
36 | | -+ RegisterAlias("isfolder", "isfolder", ConventionType::UNC, "Check if a folder exists"); |
37 | | -+ RegisterAlias("listfiles", "listfiles", ConventionType::UNC, "List files in a folder"); |
38 | | -+ RegisterAlias("loadfile", "loadfile", ConventionType::UNC, "Load a file as a function"); |
39 | | -+ RegisterAlias("makefolder", "makefolder", ConventionType::UNC, "Create a folder"); |
40 | | -+ RegisterAlias("readfile", "readfile", ConventionType::UNC, "Read a file"); |
41 | | -+ RegisterAlias("writefile", "writefile", ConventionType::UNC, "Write to a file"); |
42 | | -+ |
43 | | -+ // Instance interaction functions |
44 | | -+ RegisterAlias("fireclickdetector", "fireclickdetector", ConventionType::UNC, "Fire a click detector"); |
45 | | -+ RegisterAlias("fireproximityprompt", "fireproximityprompt", ConventionType::UNC, "Fire a proximity prompt"); |
46 | | -+ RegisterAlias("firesignal", "firesignal", ConventionType::UNC, "Fire a signal"); |
47 | | -+ RegisterAlias("firetouchinterest", "firetouchinterest", ConventionType::UNC, "Fire a touch interest"); |
48 | | -+ RegisterAlias("getcallbackvalue", "getcallbackvalue", ConventionType::UNC, "Get a callback value"); |
49 | | -+ RegisterAlias("getconnections", "getconnections", ConventionType::UNC, "Get connections from a signal"); |
50 | | -+ RegisterAlias("getcustomasset", "getcustomasset", ConventionType::UNC, "Get a custom asset"); |
51 | | -+ RegisterAlias("gethiddenproperty", "gethiddenproperty", ConventionType::UNC, "Get a hidden property"); |
52 | | -+ RegisterAlias("gethui", "gethui", ConventionType::UNC, "Get the hidden UI"); |
53 | | -+ RegisterAlias("getinstances", "getinstances", ConventionType::UNC, "Get all instances"); |
54 | | -+ RegisterAlias("getnilinstances", "getnilinstances", ConventionType::UNC, "Get nil instances"); |
55 | | -+ RegisterAlias("isrbxactive", "isrbxactive", ConventionType::UNC, "Check if Roblox is active"); |
56 | | -+ RegisterAlias("sethiddenproperty", "sethiddenproperty", ConventionType::UNC, "Set a hidden property"); |
57 | | -+ |
58 | | - // Player functions |
59 | | - RegisterAlias("getplayer", "getplayer", ConventionType::UNC, "Get a player"); |
60 | | - RegisterAlias("getlocalplayer", "getlocalplayer", ConventionType::UNC, "Get the local player"); |
61 | | -@@ -224,6 +274,56 @@ void NamingConventionManager::InitializeSNC() { |
62 | | - RegisterAlias("WebSocket", "WebSocket", ConventionType::SNC, "WebSocket library"); |
63 | | - RegisterAlias("WebSocket.connect", "WebSocket.connect", ConventionType::SNC, "Connect to a WebSocket server"); |
64 | | - |
65 | | -+ // Cryptography functions |
66 | | -+ RegisterAlias("crypt.base64decode", "crypt.base64decode", ConventionType::SNC, "Decode base64 data"); |
67 | | -+ RegisterAlias("crypt.base64encode", "crypt.base64encode", ConventionType::SNC, "Encode data as base64"); |
68 | | -+ RegisterAlias("crypt.decrypt", "crypt.decrypt", ConventionType::SNC, "Decrypt data"); |
69 | | -+ RegisterAlias("crypt.encrypt", "crypt.encrypt", ConventionType::SNC, "Encrypt data"); |
70 | | -+ RegisterAlias("crypt.generatebytes", "crypt.generatebytes", ConventionType::SNC, "Generate random bytes"); |
71 | | -+ RegisterAlias("crypt.generatekey", "crypt.generatekey", ConventionType::SNC, "Generate a cryptographic key"); |
72 | | -+ RegisterAlias("crypt.hash", "crypt.hash", ConventionType::SNC, "Hash data"); |
73 | | -+ |
74 | | -+ // Debug functions |
75 | | -+ RegisterAlias("debug.getconstant", "debug.getconstant", ConventionType::SNC, "Get a constant from a function"); |
76 | | -+ RegisterAlias("debug.getconstants", "debug.getconstants", ConventionType::SNC, "Get all constants from a function"); |
77 | | -+ RegisterAlias("debug.getinfo", "debug.getinfo", ConventionType::SNC, "Get information about a function"); |
78 | | -+ RegisterAlias("debug.getproto", "debug.getproto", ConventionType::SNC, "Get a proto from a function"); |
79 | | -+ RegisterAlias("debug.getprotos", "debug.getprotos", ConventionType::SNC, "Get all protos from a function"); |
80 | | -+ RegisterAlias("debug.getstack", "debug.getstack", ConventionType::SNC, "Get the stack of a thread"); |
81 | | -+ RegisterAlias("debug.getupvalue", "debug.getupvalue", ConventionType::SNC, "Get an upvalue from a function"); |
82 | | -+ RegisterAlias("debug.getupvalues", "debug.getupvalues", ConventionType::SNC, "Get all upvalues from a function"); |
83 | | -+ RegisterAlias("debug.print", "debug.print", ConventionType::SNC, "Print debug information"); |
84 | | -+ RegisterAlias("debug.setconstant", "debug.setconstant", ConventionType::SNC, "Set a constant in a function"); |
85 | | -+ RegisterAlias("debug.setstack", "debug.setstack", ConventionType::SNC, "Set a value in the stack"); |
86 | | -+ RegisterAlias("debug.setupvalue", "debug.setupvalue", ConventionType::SNC, "Set an upvalue in a function"); |
87 | | -+ |
88 | | -+ // File system functions |
89 | | -+ RegisterAlias("appendfile", "appendfile", ConventionType::SNC, "Append to a file"); |
90 | | -+ RegisterAlias("delfile", "delfile", ConventionType::SNC, "Delete a file"); |
91 | | -+ RegisterAlias("delfolder", "delfolder", ConventionType::SNC, "Delete a folder"); |
92 | | -+ RegisterAlias("dofile", "dofile", ConventionType::SNC, "Execute a file"); |
93 | | -+ RegisterAlias("isfile", "isfile", ConventionType::SNC, "Check if a file exists"); |
94 | | -+ RegisterAlias("isfolder", "isfolder", ConventionType::SNC, "Check if a folder exists"); |
95 | | -+ RegisterAlias("listfiles", "listfiles", ConventionType::SNC, "List files in a folder"); |
96 | | -+ RegisterAlias("loadfile", "loadfile", ConventionType::SNC, "Load a file as a function"); |
97 | | -+ RegisterAlias("makefolder", "makefolder", ConventionType::SNC, "Create a folder"); |
98 | | -+ RegisterAlias("readfile", "readfile", ConventionType::SNC, "Read a file"); |
99 | | -+ RegisterAlias("writefile", "writefile", ConventionType::SNC, "Write to a file"); |
100 | | -+ |
101 | | -+ // Instance interaction functions |
102 | | -+ RegisterAlias("fireclickdetector", "fireclickdetector", ConventionType::SNC, "Fire a click detector"); |
103 | | -+ RegisterAlias("fireproximityprompt", "fireproximityprompt", ConventionType::SNC, "Fire a proximity prompt"); |
104 | | -+ RegisterAlias("firesignal", "firesignal", ConventionType::SNC, "Fire a signal"); |
105 | | -+ RegisterAlias("firetouchinterest", "firetouchinterest", ConventionType::SNC, "Fire a touch interest"); |
106 | | -+ RegisterAlias("getcallbackvalue", "getcallbackvalue", ConventionType::SNC, "Get a callback value"); |
107 | | -+ RegisterAlias("getconnections", "getconnections", ConventionType::SNC, "Get connections from a signal"); |
108 | | -+ RegisterAlias("getcustomasset", "getcustomasset", ConventionType::SNC, "Get a custom asset"); |
109 | | -+ RegisterAlias("gethiddenproperty", "gethiddenproperty", ConventionType::SNC, "Get a hidden property"); |
110 | | -+ RegisterAlias("gethui", "gethui", ConventionType::SNC, "Get the hidden UI"); |
111 | | -+ RegisterAlias("getinstances", "getinstances", ConventionType::SNC, "Get all instances"); |
112 | | -+ RegisterAlias("getnilinstances", "getnilinstances", ConventionType::SNC, "Get nil instances"); |
113 | | -+ RegisterAlias("isrbxactive", "isrbxactive", ConventionType::SNC, "Check if Roblox is active"); |
114 | | -+ RegisterAlias("sethiddenproperty", "sethiddenproperty", ConventionType::SNC, "Set a hidden property"); |
115 | | -+ |
116 | | - // Player functions |
117 | | - RegisterAlias("getplayer", "getplayer", ConventionType::SNC, "Get a player"); |
118 | | - RegisterAlias("getlocalplayer", "getlocalplayer", ConventionType::SNC, "Get the local player"); |
0 commit comments