Skip to content

Commit

Permalink
Fix typos and use proper naming convention for namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Adanlink committed Mar 29, 2024
1 parent 3f76f2a commit 145b7b7
Show file tree
Hide file tree
Showing 29 changed files with 53 additions and 53 deletions.
7 changes: 0 additions & 7 deletions PangLib.IFF/Model/US/Season8/Type/ClubSetWorkshopType.cs

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Runtime.InteropServices;
using PangLib.IFF.Model.US.Season8.General;
using PangLib.IFF.Models.US.Season8.General;

namespace PangLib.IFF.Model.US.Season8.Data;
namespace PangLib.IFF.Models.US.Season8.Data;

[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct AuxPart
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Runtime.InteropServices;
using PangLib.IFF.Model.US.Season8.General;
using PangLib.IFF.Models.US.Season8.General;

namespace PangLib.IFF.Model.US.Season8.Data;
namespace PangLib.IFF.Models.US.Season8.Data;

[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct Ball
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Runtime.InteropServices;
using PangLib.IFF.Model.US.Season8.General;
using PangLib.IFF.Models.US.Season8.General;

namespace PangLib.IFF.Model.US.Season8.Data;
namespace PangLib.IFF.Models.US.Season8.Data;

[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct Caddie
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System.Runtime.InteropServices;
using PangLib.IFF.Model.US.Season8.Flag;
using PangLib.IFF.Model.US.Season8.General;
using PangLib.IFF.Models.US.Season8.Flag;
using PangLib.IFF.Models.US.Season8.General;

namespace PangLib.IFF.Model.US.Season8.Data;
namespace PangLib.IFF.Models.US.Season8.Data;

[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct Card
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Runtime.InteropServices;
using PangLib.IFF.Model.US.Season8.General;
using PangLib.IFF.Models.US.Season8.General;

namespace PangLib.IFF.Model.US.Season8.Data;
namespace PangLib.IFF.Models.US.Season8.Data;

[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct Character
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Runtime.InteropServices;
using PangLib.IFF.Model.US.Season8.General;
using PangLib.IFF.Models.US.Season8.General;

namespace PangLib.IFF.Model.US.Season8.Data;
namespace PangLib.IFF.Models.US.Season8.Data;

[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct Club
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System.Runtime.InteropServices;
using PangLib.IFF.Model.US.Season8.General;
using PangLib.IFF.Model.US.Season8.Type;
using PangLib.IFF.Models.US.Season8.General;
using PangLib.IFF.Models.US.Season8.Type;

namespace PangLib.IFF.Model.US.Season8.Data;
namespace PangLib.IFF.Models.US.Season8.Data;

[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct ClubSet
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Runtime.InteropServices;
using PangLib.IFF.Model.US.Season8.General;
using PangLib.IFF.Models.US.Season8.General;

namespace PangLib.IFF.Model.US.Season8.Data;
namespace PangLib.IFF.Models.US.Season8.Data;

[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct Course
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Runtime.InteropServices;

namespace PangLib.IFF.Model.US.Season8.Data;
namespace PangLib.IFF.Models.US.Season8.Data;

[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct Desc
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Runtime.InteropServices;

namespace PangLib.IFF.Model.US.Season8.Data;
namespace PangLib.IFF.Models.US.Season8.Data;

[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct Enchant
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Runtime.InteropServices;
using PangLib.IFF.Model.US.Season8.General;
using PangLib.IFF.Models.US.Season8.General;

namespace PangLib.IFF.Model.US.Season8.Data;
namespace PangLib.IFF.Models.US.Season8.Data;

[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct HairStyle
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Runtime.InteropServices;
using PangLib.IFF.Model.US.Season8.General;
using PangLib.IFF.Models.US.Season8.General;

namespace PangLib.IFF.Model.US.Season8.Data;
namespace PangLib.IFF.Models.US.Season8.Data;

[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct Item
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Runtime.InteropServices;
using PangLib.IFF.Model.US.Season8.General;
using PangLib.IFF.Models.US.Season8.General;

namespace PangLib.IFF.Model.US.Season8.Data;
namespace PangLib.IFF.Models.US.Season8.Data;

[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct Mascot
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Runtime.InteropServices;

namespace PangLib.IFF.Model.US.Season8.Data;
namespace PangLib.IFF.Models.US.Season8.Data;

[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct Match
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System.Runtime.InteropServices;
using PangLib.IFF.Model.US.Season8.General;
using PangLib.IFF.Model.US.Season8.Type;
using PangLib.IFF.Models.US.Season8.General;
using PangLib.IFF.Models.US.Season8.Type;

namespace PangLib.IFF.Model.US.Season8.Data;
namespace PangLib.IFF.Models.US.Season8.Data;

[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct Part
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Runtime.InteropServices;

namespace PangLib.IFF.Model.US.Season8.Data;
namespace PangLib.IFF.Models.US.Season8.Data;

[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct Title
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using PangLib.IFF.Model.US.Season8.Data;
using PangLib.IFF.Models.US.Season8.Data;

namespace PangLib.IFF.Model.US.Season8.Extension;
namespace PangLib.IFF.Models.US.Season8.Extension;

public static class CourseExtensions
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace PangLib.IFF.Model.US.Season8.Flag;
namespace PangLib.IFF.Models.US.Season8.Flag;

/// <summary>
/// This flag is handling different card effects
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace PangLib.IFF.Model.US.Season8.Flag;
namespace PangLib.IFF.Models.US.Season8.Flag;

/// <summary>
/// This flag is handling shop display related values
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace PangLib.IFF.Model.US.Season8.Flag;
namespace PangLib.IFF.Models.US.Season8.Flag;

/// <summary>
/// This flag is handling buying conditions
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace PangLib.IFF.Model.US.Season8.Flag;
namespace PangLib.IFF.Models.US.Season8.Flag;

[Flags]
public enum ShopTimeFlag : byte
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System.Runtime.InteropServices;
using PangLib.IFF.Model.US.Season8.Flag;
using PangLib.IFF.Model.US.Season8.Type;
using PangLib.IFF.Models.US.Season8.Flag;
using PangLib.IFF.Models.US.Season8.Type;

namespace PangLib.IFF.Model.US.Season8.General;
namespace PangLib.IFF.Models.US.Season8.General;

/// <summary>
/// Common data structure found at the head of many IFF datasets
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Runtime.InteropServices;

namespace PangLib.IFF.Model.US.Season8.General;
namespace PangLib.IFF.Models.US.Season8.General;

[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct StatsStruct
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Runtime.InteropServices;

namespace PangLib.IFF.Model.US.Season8.General;
namespace PangLib.IFF.Models.US.Season8.General;

/// <summary>
/// System time structure based on Windows internal SYSTEMTIME struct
Expand Down
7 changes: 7 additions & 0 deletions PangLib.IFF/Models/US/Season8/Type/ClubSetWorkshopType.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
namespace PangLib.IFF.Models.US.Season8.Type;

public enum ClubSetWorkshopType : int
{
NotUpgradable = -1,
Upgradable = 0
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace PangLib.IFF.Model.US.Season8.Type;
namespace PangLib.IFF.Models.US.Season8.Type;

public enum PartType : uint
{
Expand All @@ -7,7 +7,7 @@ public enum PartType : uint
Hat = 2,
Gloves = 3,
Shoes = 4,
AccesoryOrBase = 5,
AccessoryOrBase = 5,
SubLeg = 6,
UccBlank = 8,
UccCopy = 9
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace PangLib.IFF.Model.US.Season8.Type;
namespace PangLib.IFF.Models.US.Season8.Type;

public enum ShopTempItemDurationType : byte
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace PangLib.IFF.Model.US.Season8.Type;
namespace PangLib.IFF.Models.US.Season8.Type;

public enum TimeLimitedType : uint
{
Expand Down

0 comments on commit 145b7b7

Please sign in to comment.