public void Execute() { if (propUser.Prop == null && onCompleteHandler != null) { onCompleteHandler(obj: false); } isPropLocalOwners = propUser.Prop.IsOwnerLocalPlayer; isResettingControls = (propUser.Prop.IsOwnerLocalPlayer && propUser.Prop.PropDef.IsControlsResetOnStore); propUser.EPropRemoved += onPropRemoved; propUser.EPropUserEnteredIdle += onPropUserEnteredIdle; propUser.StoreProp(); if (isResettingControls) { disableInputButtons(); } }
public void StoreProp() { if (!PropUser.StoreProp()) { } }