/// <summary>
 /// 设置保存方式
 /// </summary>
 /// <param name="saveType"></param>
 /// <returns></returns>
 public ServerBootstrap SetSaveType(SaveTypeEnums saveType)
 {
     if ((int)saveType < 1 || (int)saveType > 2)
     {
         throw new ArgumentException("SaveType must be set");
     }
     saveTypeEnums = saveType;
     return(this);
 }
 public ServerBootstrap()
 {
     saveTypeEnums = SaveTypeEnums.FILE;
 }