LethalCompanyCommunity/ModdingWiki

Clearer Config Syncing

Opened this issue · 0 comments

On the page for config syncing the SyncedInstance has the method InitInstance which should be called during the constructor. This could be made clearer by making it an actual constructor therefore the person extending it gets an error in their IDE instead of wondering why it isn't working if they forgot the method. I'm not quite sure how this works under the hood but just wanted to see if I could help make it clearer.