CWOffline
Allows you to play Content Warning offline.CWOffline
you ever just specifically want to play Content Warning in a place where games are blocked in a certain *cough* *cough* establishment's firewall?
my lawyers have advised me to shut up.
WELL I HAVE THE SOLUTION FOR YOU! 👈
This mod will check if you're offline and disables the live service aspect accordingly.
features
...what do you think it does?
but actually:
- force offline if you hate your friends
- allows you to play offline (obviously)
- disables game invites when offline
- CUSTOM API! - read below for details.
custom api
if your mod needs some sort of web service to function (like mine *cough* *cough*), you can easily mark this mod as a dependency and set up an assembly reference, and then use these functions when needed:
using CWOffline;
// ...
if (CWOfflineAPI.IsGameOffline()) {
Modal.ShowError("Offline", "You cannot do <xyz> if you're offline.");
};
// or...
if (CWOfflineAPI.IsGameOnline())
{
// do stuff if online here
}
// ...