Commit e1b43f5f authored by Michael Alexander's avatar Michael Alexander
Browse files

resources added to project

parent 7e616e6e
......@@ -5,10 +5,6 @@ End Class
Public Class TradeboxJSONRecv
Public status As String
Public Offers As String()
Public Offers As String()()
End Class
Public Class Offers
Public OfferedItem As Integer
'TBD
End Class
......@@ -60,6 +60,46 @@ Namespace My.Resources
End Set
End Property
'''<summary>
''' Looks up a localized resource of type System.Drawing.Bitmap.
'''</summary>
Friend ReadOnly Property Clay() As System.Drawing.Bitmap
Get
Dim obj As Object = ResourceManager.GetObject("Clay", resourceCulture)
Return CType(obj,System.Drawing.Bitmap)
End Get
End Property
'''<summary>
''' Looks up a localized resource of type System.Drawing.Bitmap.
'''</summary>
Friend ReadOnly Property Gems() As System.Drawing.Bitmap
Get
Dim obj As Object = ResourceManager.GetObject("Gems", resourceCulture)
Return CType(obj,System.Drawing.Bitmap)
End Get
End Property
'''<summary>
''' Looks up a localized resource of type System.Drawing.Bitmap.
'''</summary>
Friend ReadOnly Property Herbs() As System.Drawing.Bitmap
Get
Dim obj As Object = ResourceManager.GetObject("Herbs", resourceCulture)
Return CType(obj,System.Drawing.Bitmap)
End Get
End Property
'''<summary>
''' Looks up a localized resource of type System.Drawing.Bitmap.
'''</summary>
Friend ReadOnly Property Honey() As System.Drawing.Bitmap
Get
Dim obj As Object = ResourceManager.GetObject("Honey", resourceCulture)
Return CType(obj,System.Drawing.Bitmap)
End Get
End Property
'''<summary>
''' Looks up a localized resource of type System.Drawing.Bitmap.
'''</summary>
......@@ -69,5 +109,65 @@ Namespace My.Resources
Return CType(obj,System.Drawing.Bitmap)
End Get
End Property
'''<summary>
''' Looks up a localized resource of type System.Drawing.Bitmap.
'''</summary>
Friend ReadOnly Property Incense() As System.Drawing.Bitmap
Get
Dim obj As Object = ResourceManager.GetObject("Incense", resourceCulture)
Return CType(obj,System.Drawing.Bitmap)
End Get
End Property
'''<summary>
''' Looks up a localized resource of type System.Drawing.Bitmap.
'''</summary>
Friend ReadOnly Property LifeElixir() As System.Drawing.Bitmap
Get
Dim obj As Object = ResourceManager.GetObject("LifeElixir", resourceCulture)
Return CType(obj,System.Drawing.Bitmap)
End Get
End Property
'''<summary>
''' Looks up a localized resource of type System.Drawing.Bitmap.
'''</summary>
Friend ReadOnly Property ManaCrystal() As System.Drawing.Bitmap
Get
Dim obj As Object = ResourceManager.GetObject("ManaCrystal", resourceCulture)
Return CType(obj,System.Drawing.Bitmap)
End Get
End Property
'''<summary>
''' Looks up a localized resource of type System.Drawing.Bitmap.
'''</summary>
Friend ReadOnly Property Mineral() As System.Drawing.Bitmap
Get
Dim obj As Object = ResourceManager.GetObject("Mineral", resourceCulture)
Return CType(obj,System.Drawing.Bitmap)
End Get
End Property
'''<summary>
''' Looks up a localized resource of type System.Drawing.Bitmap.
'''</summary>
Friend ReadOnly Property PhilosopherStone() As System.Drawing.Bitmap
Get
Dim obj As Object = ResourceManager.GetObject("PhilosopherStone", resourceCulture)
Return CType(obj,System.Drawing.Bitmap)
End Get
End Property
'''<summary>
''' Looks up a localized resource of type System.Drawing.Bitmap.
'''</summary>
Friend ReadOnly Property Potion() As System.Drawing.Bitmap
Get
Dim obj As Object = ResourceManager.GetObject("Potion", resourceCulture)
Return CType(obj,System.Drawing.Bitmap)
End Get
End Property
End Module
End Namespace
......@@ -118,7 +118,37 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="Clay" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Item\Clay.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Gems" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Item\Gems.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Herbs" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Item\Herbs.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Honey" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Item\Honey.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="idle1" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Chara\Idle\idle1.gif;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Incense" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Item\Incense.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="LifeElixir" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Item\LifeElixir.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="ManaCrystal" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Item\ManaCrystal.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Mineral" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Item\Mineral.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="PhilosopherStone" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Item\PhilosopherStone.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Potion" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Item\Potion.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>
\ No newline at end of file
......@@ -123,7 +123,6 @@ Public Class Offer
recvjson = JsonConvert.DeserializeObject(Of OfferJSONRecv)(recv)
If (recvjson.status = "ok") Then
MsgBox(recv)
RefreshInventory()
ElseIf (recvjson.status = "fail") Then
MsgBox(recvjson.description)
......
......@@ -254,6 +254,7 @@
<Content Include="Resources\Chara\Run\run8.gif">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<None Include="Resources\Honey.jpg" />
<Content Include="Resources\Item\Clay.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment