Skip to content

roblox-aurora/rbxnet-id

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

rbxnid

It 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>"
}

Releases

No releases published

Packages

No packages published