public void DoDiscardChanges(bool lastActionsResult)
{
List<string> list = new List<string>();
if (false)
{
list.AddRange(AssetServer.CollectDeepSelection());
}
else
{
list.AddRange(AssetServer.GetAllRootGUIDs());
list.AddRange(AssetServer.CollectAllChildren(AssetServer.GetRootGUID(), AssetServer.GetAllRootGUIDs()));
}
if (list.Count == 0)
{
list.AddRange(AssetServer.GetAllRootGUIDs());
}
AssetServer.SetAfterActionFinishedCallback("ASEditorBackend", "CBReinitOnSuccess");
AssetServer.DoUpdateWithoutConflictResolutionOnNextTick(list.ToArray());
}