-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
31 changed files
with
1,060 additions
and
454 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
MinecraftLauncher/Extensions/Converters/NullToBooleanConverter.vb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Imports System.Collections.Generic | ||
Imports System.Linq | ||
Imports System.Text | ||
Imports System.Threading.Tasks | ||
Imports System.Globalization | ||
Imports System.Windows.Data | ||
|
||
Class NullToBooleanConverter | ||
Implements IValueConverter | ||
Public Function Convert(value As Object, targetType As Type, parameter As Object, culture As CultureInfo) As Object Implements IValueConverter.Convert | ||
Return value IsNot Nothing | ||
End Function | ||
|
||
Public Function ConvertBack(value As Object, targetType As Type, parameter As Object, culture As CultureInfo) As Object Implements IValueConverter.ConvertBack | ||
Return Binding.DoNothing | ||
End Function | ||
End Class |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Public Class ForgeInstallerViewModel | ||
Inherits PropertyChangedBase | ||
|
||
#Region "Singleton & Constructor" | ||
Private Shared _Instance As ForgeInstallerViewModel | ||
Public Shared ReadOnly Property Instance As ForgeInstallerViewModel | ||
Get | ||
If _Instance Is Nothing Then _Instance = New ForgeInstallerViewModel | ||
Return _Instance | ||
End Get | ||
End Property | ||
|
||
Public Sub New() | ||
End Sub | ||
|
||
#End Region | ||
|
||
#Region "Properties" | ||
Private _installerdownloading As Boolean | ||
Public Property installerdownloading As Boolean | ||
Get | ||
Return _installerdownloading | ||
End Get | ||
Set(value As Boolean) | ||
SetProperty(value, _installerdownloading) | ||
End Set | ||
End Property | ||
#End Region | ||
|
||
End Class |
30 changes: 30 additions & 0 deletions
30
MinecraftLauncher/ViewModels/LiteLoaderInstallerViewModel.vb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Public Class LiteLoaderInstallerViewModel | ||
Inherits PropertyChangedBase | ||
|
||
#Region "Singleton & Constructor" | ||
Private Shared _Instance As LiteLoaderInstallerViewModel | ||
Public Shared ReadOnly Property Instance As LiteLoaderInstallerViewModel | ||
Get | ||
If _Instance Is Nothing Then _Instance = New LiteLoaderInstallerViewModel | ||
Return _Instance | ||
End Get | ||
End Property | ||
|
||
Public Sub New() | ||
End Sub | ||
|
||
#End Region | ||
|
||
#Region "Properties" | ||
Private _installerdownloading As Boolean | ||
Public Property installerdownloading As Boolean | ||
Get | ||
Return _installerdownloading | ||
End Get | ||
Set(value As Boolean) | ||
SetProperty(value, _installerdownloading) | ||
End Set | ||
End Property | ||
#End Region | ||
|
||
End Class |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Public Class UpdaterViewModel | ||
Inherits PropertyChangedBase | ||
|
||
#Region "Singleton & Constructor" | ||
Private Shared _Instance As UpdaterViewModel | ||
Public Shared ReadOnly Property Instance As UpdaterViewModel | ||
Get | ||
If _Instance Is Nothing Then _Instance = New UpdaterViewModel | ||
Return _Instance | ||
End Get | ||
End Property | ||
|
||
Public Sub New() | ||
End Sub | ||
|
||
#End Region | ||
|
||
#Region "Properties" | ||
Private _installerdownloading As Boolean | ||
Public Property installerdownloading As Boolean | ||
Get | ||
Return _installerdownloading | ||
End Get | ||
Set(value As Boolean) | ||
SetProperty(value, _installerdownloading) | ||
End Set | ||
End Property | ||
#End Region | ||
|
||
End Class |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.