Skip to content

OnPlayerMetabolize

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnPlayerMetabolize( PlayerMetabolism instance, BaseCombatEntity ownerEntity, float delta )
{
    Puts( "OnPlayerMetabolize works!" );
}

Location

  • PlayerMetabolism::ServerUpdate(BaseCombatEntity ownerEntity, float delta)
csharp
public override void ServerUpdate(BaseCombatEntity ownerEntity, float delta)
{
	base.ServerUpdate(ownerEntity, delta);
	Interface.CallHook("OnPlayerMetabolize", this, ownerEntity, delta);
	this.SendChangesToClient();
}

Released under the MIT License.