Skip to content

OnArcadeScoreAdded

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnArcadeScoreAdded( BaseArcadeMachine instance, BasePlayer player, int score )
{
    Puts( "OnArcadeScoreAdded works!" );
}

Location

  • BaseArcadeMachine::AddScore(BasePlayer player, int score)
csharp
//---
		arg_5B_1 = (BaseArcadeMachine.<>c.<>9__16_0 = new Comparison<BaseArcadeMachine.ScoreEntry>(BaseArcadeMachine.<>c.<>9.<AddScore>b__16_0));
	}
	arg_5B_0.Sort(arg_5B_1);
	this.scores.TrimExcess();
	base.SendNetworkUpdate(BasePlayer.NetworkQueue.Update);
	Interface.CallHook("OnArcadeScoreAdded", this, player, score);
}

Released under the MIT License.