58 lines
2.2 KiB
C#
58 lines
2.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Thousandto.Launcher.Form
|
|
{
|
|
/// <summary>
|
|
/// Launcher的字符串定义
|
|
/// </summary>
|
|
public class LauncherStringDefine
|
|
{
|
|
//通用字符串
|
|
public const string OK = "确定";
|
|
public const string CANCEL = "取消";
|
|
public const string REPLAY = "重试";
|
|
|
|
//LAUNCH启动的提示信息
|
|
public const string LAUNCHER_DOWNLOAD_REMOTEVERSION_FAIL = "请求版本信息失败,请检查网络或重新请求";
|
|
|
|
|
|
//客户端修复处理
|
|
public const string ASK_CANCEL_CLIENT_REPIRE = "是否取消处理进程?";
|
|
public const string ASK_NEED_CLIENT_REPIRE = "是否进行客户端修复?";
|
|
public const string ASK_QUIT_GAME = "处理完毕,请退出游戏之后,重新启动游戏.";
|
|
public const string ASK_NEED_UPLOAD_LOG = "您是否提交异常日志?";
|
|
|
|
|
|
//LAUNCH启动的阶段字符串
|
|
public const string LAUNCH_STEP_INITIALIZE = "初始化";
|
|
public const string LAUNCH_STEP_INIT_LAN = "检测语言环境";
|
|
public const string LAUNCH_STEP_INIT_FORM = "检测语言环境";
|
|
public const string LAUNCH_STEP_PLAYVIDEO = "播放视频";
|
|
public const string LAUNCH_STEP_SHOW_FORM = "打开窗体";
|
|
public const string LAUNCH_STEP_CHECK_APP = "包体检测";
|
|
public const string LAUNCH_STEP_PARSE_LOCALVERSION = "解析版本号";
|
|
public const string LAUNCH_STEP_CHECK_LOCALVERSION = "检测版本号";
|
|
public const string LAUNCH_STEP_ENTER_UPDATEMODEL = "启动更新模块";
|
|
|
|
//获取启动的几个阶段的名字
|
|
public static string[] GetLaunchStepNames()
|
|
{
|
|
return new string[] {
|
|
LAUNCH_STEP_INITIALIZE,
|
|
LAUNCH_STEP_INIT_LAN,
|
|
LAUNCH_STEP_INIT_FORM,
|
|
LAUNCH_STEP_PLAYVIDEO,
|
|
LAUNCH_STEP_SHOW_FORM,
|
|
LAUNCH_STEP_CHECK_APP,
|
|
LAUNCH_STEP_PARSE_LOCALVERSION,
|
|
LAUNCH_STEP_CHECK_LOCALVERSION,
|
|
LAUNCH_STEP_ENTER_UPDATEMODEL,
|
|
};
|
|
}
|
|
|
|
}
|
|
}
|