I'm currently working on a mod that clears it's data when it detects a wipe. After looking at other mods that do something similar, I've been able to get it working using a combination of Rust.Protocol.network, Rust.Protocol.save, ConVar.Server.level, ConVar.Server.levelurl, ConVar.Server.worldsize, and ConVar.server.seed.
My question relates to resolving Rust.Protocol.network and Rust.Protocol.save. I'm using Rider which is a cross-platform IntelliJ IDE for C#.
After adding references and using statements for the other DLL files, I've been able to resolve any "missing reference" errors except for `Rust.Protocol`. I've looked in the source and I see that it's part of RustServer, but that appears to be internal only. What reference or usage statement should I be using to resolve those or are they internal only and just work anyway?
My question relates to resolving Rust.Protocol.network and Rust.Protocol.save. I'm using Rider which is a cross-platform IntelliJ IDE for C#.
After adding references and using statements for the other DLL files, I've been able to resolve any "missing reference" errors except for `Rust.Protocol`. I've looked in the source and I see that it's part of RustServer, but that appears to be internal only. What reference or usage statement should I be using to resolve those or are they internal only and just work anyway?