Skip to content

Commit

Permalink
[skip CI] CI/CD: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 7, 2025
1 parent 07f469f commit 4aac3bb
Show file tree
Hide file tree
Showing 25 changed files with 33 additions and 33 deletions.
8 changes: 4 additions & 4 deletions Fuyu.Backend.BSG/Models/Accounts/EftProfile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ public class EftProfile
[DataMember]
public Profile Pmc { get; set; }

[DataMember]
[DataMember]
public Profile Savage { get; set; }

[DataMember]
[DataMember]
public CustomizationStorageEntry[] Customization { get; set; }

[DataMember]
[DataMember]
public bool ShouldWipe { get; set; }
}
}
}
4 changes: 2 additions & 2 deletions Fuyu.Backend.BSG/Models/Accounts/WipeProfile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class WipeProfile
[DataMember]
public Profile Profile { get; set; }

[DataMember]
[DataMember]
public CustomizationStorageEntry[] Customization { get; set; }
}
}
}
6 changes: 3 additions & 3 deletions Fuyu.Backend.BSG/Models/Bots/BotCondition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ public class BotCondition
[Newtonsoft.Json.JsonConverter(typeof(StringEnumConverter))]
public EBotRole Role { get; set; }

[DataMember]
[DataMember]
public int Limit { get; set; }

[DataMember]
[DataMember]
[Newtonsoft.Json.JsonConverter(typeof(StringEnumConverter))]
public EBotDifficulty Difficulty { get; set; }
}
}
}
4 changes: 2 additions & 2 deletions Fuyu.Backend.BSG/Models/Common/CurrentMaximum.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class CurrentMaximum<T>
[DataMember]
public T Current { get; set; }

[DataMember]
[DataMember]
public T Maximum { get; set; }
}
}
}
4 changes: 2 additions & 2 deletions Fuyu.Backend.BSG/Models/Items/ItemFaceShieldComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class ItemFaceShieldComponent
[DataMember]
public byte Hits { get; set; }

[DataMember]
[DataMember]
public byte HitSeed { get; set; }
}
}
}
2 changes: 1 addition & 1 deletion Fuyu.Backend.BSG/Models/Items/ItemLockableComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class ItemLockableComponent : IItemComponent
[DataMember]
public bool Locked { get; set; }

public static object CreateComponent(JObject templateProperties)
public static object CreateComponent(JObject templateProperties)
{
if (!templateProperties.ContainsKey("isSecured")
|| !templateProperties.Value<bool>("isSecured"))
Expand Down
2 changes: 1 addition & 1 deletion Fuyu.Backend.BSG/Models/Items/ItemMapComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class ItemMapComponent : IItemComponent
[DataMember]
public List<MapMarker> Markers { get; set; }

public static object CreateComponent(JObject templateProperties)
public static object CreateComponent(JObject templateProperties)
{
if (!templateProperties.ContainsKey("MaxMarkersCount"))
{
Expand Down
2 changes: 1 addition & 1 deletion Fuyu.Backend.BSG/Models/Items/ItemRecodableComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class ItemRecodableComponent : IItemComponent
[DataMember]
public bool IsEncoded { get; set; }

public static object CreateComponent(JObject templateProperties)
public static object CreateComponent(JObject templateProperties)
{
if (!templateProperties.ContainsKey("IsEncoded"))
{
Expand Down
2 changes: 1 addition & 1 deletion Fuyu.Backend.BSG/Models/Items/ItemRepairKitComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class ItemRepairKitComponent : IItemComponent
[DataMember]
public float Resource { get; set; }

public static object CreateComponent(JObject templateProperties)
public static object CreateComponent(JObject templateProperties)
{
if (!templateProperties.ContainsKey("MaxRepairResource"))
{
Expand Down
2 changes: 1 addition & 1 deletion Fuyu.Backend.BSG/Models/Items/ItemSideEffectComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class ItemSideEffectComponent : IItemComponent
[DataMember]
public float Value { get; set; }

public static object CreateComponent(JObject templateProperties)
public static object CreateComponent(JObject templateProperties)
{
if (!templateProperties.ContainsKey("MaxResource"))
{
Expand Down
2 changes: 1 addition & 1 deletion Fuyu.Backend.BSG/Models/Profiles/Health/BodyPart.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ public class BodyPart
{
[DataMember]
public CurrentMaximum<float> Health { get; set; }
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ public class HideoutAreaSlot
// TODO: proper type
[DataMember]
public object item { get; set; }
}
}
}
2 changes: 1 addition & 1 deletion Fuyu.Backend.BSG/Models/Profiles/Stats/Counter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ public class Counter
// TODO: proper type
[DataMember]
public object[] Items { get; set; }
}
}
}
2 changes: 1 addition & 1 deletion Fuyu.Backend.BSG/Models/Profiles/StatsInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ public class StatsInfo
{
[DataMember]
public EftStats Eft { get; set; }
}
}
}
2 changes: 1 addition & 1 deletion Fuyu.Backend.BSG/Models/Profiles/UnlockedInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ public class UnlockedInfo
// TODO: proper type
[DataMember]
public object[] unlockedProductionRecipe { get; set; }
}
}
}
2 changes: 1 addition & 1 deletion Fuyu.Backend.BSG/Models/Requests/GameBotGenerateRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ public class GameBotGenerateRequest
{
[DataMember]
public BotCondition[] conditions { get; set; }
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ public class GameProfileNicknameValidateRequest
{
[DataMember]
public string nickname { get; set; }
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ public class AchievementStatisticResponse
{
[DataMember]
public Dictionary<string, float> elements { get; set; }
}
}
}
2 changes: 1 addition & 1 deletion Fuyu.Backend.BSG/Models/Responses/GameLogoutResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ public class GameLogoutResponse
{
[DataMember]
public string status { get; set; }
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ public class GameProfileCreateResponse
{
[DataMember]
public string uid { get; set; }
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ public class GameProfileNicknameValidateResponse
{
[DataMember]
public string status { get; set; }
}
}
}
2 changes: 1 addition & 1 deletion Fuyu.Backend.BSG/Models/Responses/GameStartResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ public class GameStartResponse
{
[DataMember]
public double utc_time { get; set; }
}
}
}
2 changes: 1 addition & 1 deletion Fuyu.Backend.BSG/Models/Responses/MenuLocaleResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ public class MenuLocaleResponse
{
[DataMember]
public Dictionary<string, string> menu { get; set; }
}
}
}
2 changes: 1 addition & 1 deletion Fuyu.Backend.BSG/Models/Responses/ProfileSelectResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ public class ProfileSelectResponse
{
[DataMember]
public string status { get; set; }
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ public class RepeatableQuestsResponse
// TODO: proper type
[DataMember]
public object[] squad { get; set; }
}
}
}

0 comments on commit 4aac3bb

Please sign in to comment.