Wondercard Accessability Internal -> Public

This commit is contained in:
Manu 2023-06-05 11:28:36 +02:00
parent 9fcc4681cc
commit 0b0e10b07e
8 changed files with 19 additions and 20 deletions

View File

@ -3,7 +3,7 @@ using Enums;
namespace SwitchGiftDataManager.Core
{
internal class WA8 : Wondercard
public class WA8 : Wondercard
{
private const int WondercardIDOffset = 0x08;
private const int GiftTypeOffset = 0x0F;

View File

@ -3,7 +3,7 @@ using Enums;
namespace SwitchGiftDataManager.Core
{
internal class WB7 : Wondercard
public class WB7 : Wondercard
{
private const int WondercardIDOffset = 0x208;
private const int GiftTypeOffset = 0x259;

View File

@ -3,7 +3,7 @@ using Enums;
namespace SwitchGiftDataManager.Core
{
internal class WB8 : Wondercard
public class WB8 : Wondercard
{
private const int WondercardIDOffset = 0x08;
private const int GiftTypeOffset = 0x11;

View File

@ -3,7 +3,7 @@ using Enums;
namespace SwitchGiftDataManager.Core
{
internal class WC8 : Wondercard
public class WC8 : Wondercard
{
private const int WondercardIDOffset = 0x08;
private const int GiftTypeOffset = 0x11;

View File

@ -3,7 +3,7 @@ using Enums;
namespace SwitchGiftDataManager.Core
{
internal class WC9 : Wondercard
public class WC9 : Wondercard
{
private const int WondercardIDOffset = 0x08;
private const int GiftTypeOffset = 0x11;

View File

@ -3,7 +3,7 @@ using System.Buffers.Binary;
namespace SwitchGiftDataManager.Core
{
internal abstract class Wondercard
public abstract class Wondercard
{
public static int GenOffset = 0x0F;
protected const int MaxItemCount = 6;

View File

@ -15,7 +15,7 @@
Item,
}
internal enum WondercardSize : ushort
public enum WondercardSize : ushort
{
WB7 = 0x310,
WC8 = 0x2D0,
@ -24,7 +24,7 @@
WC9 = 0x2C8,
}
internal enum GiftType7 : byte
public enum GiftType7 : byte
{
Pokemon = 0,
Item = 1,
@ -32,7 +32,7 @@
BP = 3,
}
internal enum GiftType8 : byte
public enum GiftType8 : byte
{
None = 0,
Pokemon = 1,
@ -42,7 +42,7 @@
Money = 5,
}
internal enum GiftType8B : byte
public enum GiftType8B : byte
{
None = 0,
Pokemon = 1,
@ -53,7 +53,7 @@
Underground = 6,
}
internal enum GiftType8A : byte
public enum GiftType8A : byte
{
None = 0,
Pokemon = 1,
@ -61,7 +61,7 @@
Clothing = 3,
}
internal enum GiftType9 : byte
public enum GiftType9 : byte
{
None = 0,
Pokemon = 1,
@ -85,7 +85,7 @@
ShinyHighOdds,
}
internal enum ShinyType7 : byte
public enum ShinyType7 : byte
{
Fixed = 0,
ShinyRandom = 1,
@ -93,7 +93,7 @@
ShinyLocked = 3,
}
internal enum ShinyType8 : byte
public enum ShinyType8 : byte
{
ShinyLocked = 0,
ShinyRandom = 1,
@ -102,7 +102,7 @@
Fixed = 4,
}
internal enum ShinyType9 : byte
public enum ShinyType9 : byte
{
ShinyLocked = 0,
ShinyRandom = 1,
@ -111,7 +111,7 @@
Fixed = 4,
}
internal enum ClothingType8: byte
public enum ClothingType8: byte
{
Glasses = 0x06,
Hats = 0x07,
@ -125,7 +125,7 @@
None = 0xFF,
}
internal enum ClothingType8A: byte
public enum ClothingType8A: byte
{
Headwear = 0x00,
Tops = 0x01,
@ -137,7 +137,7 @@
None = 0xFF,
}
internal enum ClothingType9 : byte
public enum ClothingType9 : byte
{
Uniform = 0x00,
Legwear = 0x01,

View File

@ -1,5 +1,4 @@
using System.Diagnostics;
using SwitchGiftDataManager.Core;
using SwitchGiftDataManager.Core;
using Octokit;
namespace SwitchGiftDataManager.Core