コード例 #1
0
 public override void OnEncodeToConfigNode()
 {
     WindowPositionStored            = WindowPositionStored.FromRect(WindowPos);
     WindowPos_SpaceCenterStored     = WindowPos_SpaceCenterStored.FromRect(WindowPos_SpaceCenter);
     WindowPos_TrackingStationStored = WindowPos_TrackingStationStored.FromRect(WindowPos_TrackingStation);
     VersionCheckDate_AttemptStored  = VersionCheckDate_AttemptString;
     VersionCheckDate_SuccessStored  = VersionCheckDate_SuccessString;
 }
コード例 #2
0
ファイル: Settings.cs プロジェクト: xxApvxx/KerbalAlarmClock
 public override void OnEncodeToConfigNode()
 {
     WindowPositionStored = WindowPositionStored.FromRect(WindowPos);
     WindowPos_SpaceCenterStored = WindowPos_SpaceCenterStored.FromRect(WindowPos_SpaceCenter);
     WindowPos_TrackingStationStored = WindowPos_TrackingStationStored.FromRect(WindowPos_TrackingStation);
     WindowPos_EditorVABStored = WindowPos_EditorVABStored.FromRect(WindowPos_EditorVAB);
     WindowPos_EditorSPHStored = WindowPos_EditorVABStored.FromRect(WindowPos_EditorSPH);
     VersionCheckDate_AttemptStored = VersionCheckDate_AttemptString;
     VersionCheckDate_SuccessStored = VersionCheckDate_SuccessString;
 }