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

@ -4,7 +4,7 @@ using System.Collections.Generic;
namespace HISP.Player
{
class Award
public class Award
{
public struct AwardEntry
{

View file

@ -1,9 +1,10 @@
using HISP.Game;
using HISP.Server;
using HISP.Game.Items;
namespace HISP.Player.Equips
{
class CompetitionGear
public class CompetitionGear
{
public const int MISC_FLAG_HEAD = 1;
public const int MISC_FLAG_BODY = 2;

View file

@ -1,9 +1,10 @@
using HISP.Game;
using HISP.Server;
using HISP.Game.Items;
namespace HISP.Player.Equips
{
class Jewelry
public class Jewelry
{
private int playerId;

View file

@ -3,7 +3,7 @@ using HISP.Server;
namespace HISP.Player
{
class Friends
public class Friends
{
private User baseUser;
public List<int> List;

View file

@ -3,7 +3,7 @@ using System.Collections.Generic;
namespace HISP.Player
{
class Highscore
public class Highscore
{
public class HighscoreTableEntry
{

View file

@ -2,7 +2,7 @@
namespace HISP.Player
{
class Mailbox
public class Mailbox
{
private User baseUser;
public int MailCount;

View file

@ -3,7 +3,7 @@ using HISP.Server;
namespace HISP.Player
{
class PlayerQuests
public class PlayerQuests
{
private List<TrackedQuest> trackedQuests = new List<TrackedQuest>();
public User BaseUser;

View file

@ -2,7 +2,7 @@
using HISP.Server;
namespace HISP
{
class TrackedQuest
public class TrackedQuest
{
public TrackedQuest(int playerID, int questID, int timesComplete)
{

View file

@ -9,7 +9,7 @@ using HISP.Game.Horse;
namespace HISP.Player
{
class User
public class User
{
public int Id;