PageRenderTime 16ms CodeModel.GetById 9ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/Structures/fanartlist.vb

#
Visual Basic | 14 lines | 14 code | 0 blank | 0 comment | 0 complexity | 8aed95584ae8302049e0c30379af343a MD5 | raw file
 1Public Structure str_FanartList
 2    Dim bigUrl As String
 3    Dim smallUrl As String
 4    Dim type As String
 5    Dim resolution As String
 6    Dim rating As Double
 7    Sub New(SetDefaults As Boolean) 'When called with new keyword & boolean constant SetDefault (either T or F), initialises all values to defaults to avoid having some variables left as 'nothing'
 8        bigUrl = ""
 9        smallUrl = ""
10        type = ""
11        resolution = ""
12        rating = 0
13    End Sub
14End Structure