roblox-aurora / rbx-net

Advanced multi-language networking framework for Roblox
https://rbxnet.australis.dev/
MIT License
94 stars 12 forks source link

Compile time _NetManaged folder content #79

Open MayGo opened 2 years ago

MayGo commented 2 years ago

Trying to solve the problem described in https://github.com/roblox-aurora/rbx-net/issues/78. Currently, all networking objects are created when code is run from the definitions object Not sure this can be done with typescript - to create files from definitions object with typescript transformer in compile time. But surely we can create separate files and add transform to that?

For example(not actual implementation): fileName: toggleCampaignStartButton.ts

@Definitions.ServerToClientEvent
interface {
   show: boolean;
}