Weirest bug ever happened, it said "Item.ItemInformation" is higher protection level than Item.Tack even though both were public, i eventurally found that it was because Item was "class" where as "Item.Tack" was "public class" so i made everything be "public class"

This commit is contained in:
SilicaPi 2021-01-31 01:18:52 +13:00
parent 6a620f4be5
commit 3c25795188
50 changed files with 186 additions and 60 deletions

View file

@ -5,7 +5,7 @@ using System.Collections.Generic;
namespace HISP.Game.Inventory
{
class HorseInventory
public class HorseInventory
{
private User baseUser;
private List<HorseInstance> horsesList = new List<HorseInstance>();

View file

@ -1,4 +1,5 @@

using HISP.Game.Items;
namespace HISP.Game.Inventory
{

View file

@ -1,9 +1,10 @@
using System;
using System.Collections.Generic;
using HISP.Game.Items;
namespace HISP.Game.Inventory
{
class InventoryItem
public class InventoryItem
{
public InventoryItem()
{

View file

@ -2,11 +2,12 @@
using System.Linq;
using HISP.Player;
using HISP.Server;
using HISP.Game.Items;
namespace HISP.Game.Inventory
{
class PlayerInventory : IInventory
public class PlayerInventory : IInventory
{

View file

@ -1,11 +1,12 @@
using HISP.Game.Services;
using HISP.Server;
using HISP.Game.Items;
using System.Collections.Generic;
using System.Linq;
namespace HISP.Game.Inventory
{
class ShopInventory : IInventory
public class ShopInventory : IInventory
{
private Shop baseShop;
private List<InventoryItem> inventoryItems;