1.0.0 • Published 5 years ago
roblox-ts-net-idgen v1.0.0
RbxNet Id
Id generator for RbxNet.
What it is for
Obfuscating the IDs of RemoteEvents/RemoteFunctions.
Since a const enum in roblox-ts is compiled as the value of the enum (e.g. RemoteId.A will turn into "<random guid A>")
Usage
rbxnidIt will use the root directory this way, and will find all .id.json files that match and generate respective .d.ts with enums in them.
Example remoteId.id.json file
{
"Name": "RemoteId",
"IDs": [
"A",
"B",
"C"
]
}will generate (remoteId.d.ts):
export const enum RemoteId {
A = "<random guid A>",
B = "<random guid B>",
C = "<random guid C>"
}1.0.0
5 years ago