OnBookmarkInput
Usage
- Return a non-null value to override default behavior
Example Autogenerated
csharp
private void OnBookmarkInput( ComputerStation instance, BasePlayer player, InputState inputState )
{
Puts( "OnBookmarkInput works!" );
}
Location
- ComputerStation::PlayerServerInput(InputState inputState, BasePlayer player)
csharp
public override void PlayerServerInput(InputState inputState, BasePlayer player)
{
base.PlayerServerInput(inputState, player);
if (base.HasFlag(BaseEntity.Flags.Reserved2) && this.currentlyControllingEnt.IsValid(true))
{
if (Interface.CallHook("OnBookmarkInput", this, player, inputState) != null)
{
return;
}
this.currentlyControllingEnt.Get(true).GetComponent<IRemoteControllable>().UserInput(inputState, new CameraViewerId(player.userID, 0L));
}
//---