RustTip

OnBoatGroupSpawned

OxideCarbonNaval
void OnBoatGroupSpawned(BoatGroupSpawner boatGroupSpawner, Vector2 local1, Quaternion local4, HashSet list, bool local3, bool spawnsPT)
Method missing — this game build has no method the hook is injected into: until it is updated, the hook is not called.

Parameters

boatGroupSpawner
BoatGroupSpawner
local1
Vector2
local4
Quaternion
list
HashSet
local3
bool
spawnsPT
bool

Return value

voidThe return value is ignored — the hook only notifies.

Example

private void OnBoatGroupSpawned(BoatGroupSpawner boatGroupSpawner, Vector2 local1, Quaternion local4, HashSet list, bool local3, bool spawnsPT)
{
    Puts("OnBoatGroupSpawned");
}

Works in both Oxide and Carbon: Carbon loads Oxide plugins as is.

Injection point 1

Rust.opj (Oxide)
void BoatGroupSpawner.SpawnBoatGroup(HashSet<RHIB>, BoatAI.AILoadMode, bool, ScientistBoatOilrigManager)
Method missingReturnBehavior: ContinueArgumentBehavior: UseArgumentString (this, l1, l4, a0, l3, a2)Assembly-CSharp.dll

Injection point 2

Rust.opj (Oxide)
void BoatGroupSpawner.SpawnBoatGroup(HashSet<RHIB>, BoatAI.AILoadMode, bool, ScientistBoatOilrigManager)
Method missingAssembly-CSharp.dll

Sources: Rust.opj from OxideMod/Oxide.Rust (MIT) and hook metadata of the Carbon documentation (MIT). Method code is decompiled from this branch's server.