コード例 #1
0
ファイル: Savegame.cs プロジェクト: Vliegwiel/dfWeb
 public void LoadCurrentGraphics()
 {
     this.Graphics = new SavegameRaws(this.SavePath + (object)Savegame.slash + "raw" + (string)(object)Savegame.slash + "graphics");
     this.GraphicsLabel.Text = "Unit Graphics: " + this.Graphics.Name + " " + this.Graphics.Version;
 }
コード例 #2
0
ファイル: Savegame.cs プロジェクト: Vliegwiel/dfWeb
 public void LoadCurrentObjects()
 {
     this.Objects = new SavegameRaws(this.SavePath + (object)Savegame.slash + "raw" + (string)(object)Savegame.slash + "objects");
     this.ObjectsLabel.Text = "Tileset Raws: " + this.Objects.Name + " " + this.Objects.Version;
 }
コード例 #3
0
ファイル: Savegame.cs プロジェクト: Vliegwiel/dfWeb
 private static string GetRelativePrefix(SourceRaws sourceRaws, SavegameRaws savegameRaws)
 {
     if (!(sourceRaws.Name == savegameRaws.Name))
         return "Install";
     int num = string.Compare(sourceRaws.Version, savegameRaws.Version, true);
     if (num > 0)
         return "Upgrade";
     return num < 0 ? "Retrograde" : "Re-install";
 }