Entwined

v1.0.0·Updated 2024-06-02

An advanced Bopl Battle networking library.

About this mod Author’s original text

Entwined

An advanced Bopl Battle networking library.

Example:

[BepInDependency("com.entwinedteam.entwined")]

[BepInPlugin("com.yourname.myFirstEntwinedPlugin", "My First Entwined Plugin", 1.0.0)]

internal class MyPlugin: MonoBehaviour

{

static EntwinedPacketChannel helloWorldChannel;

private void Awake()

{

helloWorldChannel = new EntwinedPacketChannel(this, new StringEntwiner());

helloWorldChannel.OnMessage += OnMessage;

}

private void OnGUI()

{

if (GUI.Button(new Rect(15, 120, 100, 40), "Send Packet"))

{

helloWorldChannel.SendMessage("Hello World!");

}

}

private static void OnMessage(string payload, PacketSourceInfo sourceInfo)

{

Logger.LogInfo($"{sourceInfo.SenderSteamName}: {payload}");

}

}

More info and documentation can be found on the github repo.

Install & use Install: follow the bundled instructions

  1. Unzip the archive from playbuff and read the bundled readme / instructions first.
  2. Most mods rely on the game's mod loader — the usual route is a community mod manager (such as r2modman): pick this game, install, and it handles the loader and dependencies.
  3. For a manual install, put the mod files into the matching Mod / plugins folder inside the game directory.
  4. Launch the game to confirm it loaded; mods with listed dependencies need those installed as well.

Install locations vary a lot between mods — the bundled readme is the most reliable guide.

Dependencies

Install these first, or the mod will not work:

BepInEx-BepInExPack

File & checksum

Filename
Entwined-1.0.0.zip
File size
71.3 KiB