initial commit

This commit is contained in:
what 2021-07-26 13:04:16 -07:00
commit 1b60743303
274 changed files with 25866 additions and 0 deletions

View file

@ -0,0 +1,55 @@
// Decompiled with JetBrains decompiler
// Type: SEGATools.UserProcess.UserProcessUpdateUIViewEventArgs
// Assembly: SEGATools, Version=1.0.3.0, Culture=neutral, PublicKeyToken=611be24fdeb07e08
// MVID: D631183F-57B1-40A1-B502-5364D288307A
// Assembly location: SEGATools.dll
using System;
namespace SEGATools.UserProcess
{
public class UserProcessUpdateUIViewEventArgs : EventArgs
{
public UserProcessUpdateUIViewEventArgs.UserProgressUIStyle UIStyle { get; private set; }
public string InputTitleResourceName { get; private set; }
public bool UpdateInputTitle { get; private set; }
public bool ShowInputText { get; private set; }
public UserProcessUpdateUIViewEventArgs(
UserProcessUpdateUIViewEventArgs.UserProgressUIStyle userProgressUIStyle,
bool showInputText)
{
this.UIStyle = userProgressUIStyle;
this.UpdateInputTitle = false;
this.ShowInputText = showInputText;
}
public UserProcessUpdateUIViewEventArgs(
UserProcessUpdateUIViewEventArgs.UserProgressUIStyle userProgressUIStyle,
string newInputTitleResourceName,
bool showInputText)
{
this.UIStyle = userProgressUIStyle;
this.InputTitleResourceName = newInputTitleResourceName;
this.UpdateInputTitle = true;
this.ShowInputText = showInputText;
}
public static UserProcessUpdateUIViewEventArgs OneProgressBarWithoutPercentage(
string newInputTitleResourceName,
bool showInputText)
{
return new UserProcessUpdateUIViewEventArgs(UserProcessUpdateUIViewEventArgs.UserProgressUIStyle.OneProgressBarWithoutPercentage, newInputTitleResourceName, showInputText);
}
public enum UserProgressUIStyle
{
OneProgressBarWithPercentage,
OneProgressBarWithoutPercentage,
TwoProgressBarsWithPercentage,
}
}
}