OnBookmarkControlStarted
OxideCarbonBookmarkCalled when a bookmark control starts.
void OnBookmarkControlStarted(ComputerStation computerStation, BasePlayer local0, string local1, IRemoteControllable local2)Works — the game method in this build is the one the hook was written for.
Parameters
- computerStation
- ComputerStation
- local0
- BasePlayer
- local1
- string
- local2
- IRemoteControllable
Return value
voidThe return value is ignored — the hook only notifies.
Example
private void OnBookmarkControlStarted(ComputerStation computerStation, BasePlayer local0, string local1, IRemoteControllable local2)
{
Puts("OnBookmarkControlStarted");
}Works in both Oxide and Carbon: Carbon loads Oxide plugins as is.
Injection point
Rust.opj (Oxide)
void ComputerStation.BeginControllingBookmark(BaseEntity.RPCMessage)
Passes: ComputerStation computerStation, BasePlayer local0, string local1, IRemoteControllable local2
WorksReturnBehavior: ContinueArgumentBehavior: UseArgumentString (this, l0, l1, l2)Assembly-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.