Dependency Setup

Mod.json

Add the following in your mod.json:

{
  "dependencies": {
    "smjs.object-collab": {
      "version": ">={the latest version}",
      "required": true
    }
  }
}

C++

Add the following to your code:

#include <smjs.object-collab/include/object_collab.hpp>

// ::prelude is optional. It just makes popups simpler to setup.
using namespace object_collab::prelude;