RustTip

OnFeedbackReported

OxideCarbonPlayer

Called when a feedback is reported.

void OnFeedbackReported(BasePlayer local1, string local2, string local3, Facepunch.Models.ReportType local5)
Method missing — this game build has no method the hook is injected into: until it is updated, the hook is not called.

Parameters

local1
BasePlayer
local2
string
local3
string
local5
Facepunch.Models.ReportType

Return value

voidThe return value is ignored — the hook only notifies.

Example

private void OnFeedbackReported(BasePlayer local1, string local2, string local3, Facepunch.Models.ReportType local5)
{
    Puts("OnFeedbackReported");
}

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

Injection point

Rust.opj (Oxide)
void BasePlayer.<OnFeedbackReport>d__779.MoveNext()
Method missingReturnBehavior: ContinueArgumentBehavior: UseArgumentString (l1, l2, l3, l5)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.