Last updated | 5 months ago |
Total downloads | 10541 |
Total rating | 0 |
Categories | Mods Tools Libraries Misc Client-Only Vanilla Compatible BepInEx |
Dependency string | RedBigz-CWOffline-1.0.2 |
Dependants | 7 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
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
}
// ...