s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News
jams
Workshop
Steam
open_in_newSteam Workshop
Assets
view_in_arModels textureMaterials apparelClothing
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
Get s&box
Sign in with Steam
Api
IUndoSystem
chevron_left API Reference
interface
IUndoSystem

Properties

data_objectRedoTimestampdata_objectUndoTimestamp

Methods

functionsRedofunctionsUndo
IUndoSystem
Interface for an undo/redo edit history system.
interface Sandbox.Helpers .
abstractSandbox.Tools

data_object Properties 2

RedoTimestamp
Nullable`1
Timestamp of the last undone change, or null if there's nothing to redo.
UndoTimestamp
Nullable`1
Timestamp of the last change made, or null if there's nothing to undo.

functions Methods 2

Redo ()
bool
Redoes the last undone change, or returns false if there was no undone change to redo.
Undo ()
bool
Undoes the last change made. Calling Sandbox.Helpers.IUndoSystem.Redo should now re-apply that change. Returns false if there was no change to undo.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter