RedBigz-CWOffline icon

CWOffline

Allows you to play Content Warning offline.

Last updated a day ago
Total downloads 413
Total rating 0 
Categories Mods Tools Libraries Misc Client-side Vanilla Compatible BepInEx
Dependency string RedBigz-CWOffline-1.0.2
Dependants 1 other package depends on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100

README

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
}

// ...