diff --git a/Core/Models/Eft/Notes/NoteActionData.cs b/Core/Models/Eft/Notes/NoteActionData.cs new file mode 100644 index 00000000..f20a6f2f --- /dev/null +++ b/Core/Models/Eft/Notes/NoteActionData.cs @@ -0,0 +1,25 @@ +using System.Text.Json.Serialization; +using Core.Models.Eft.Common.Request; + +namespace Core.Models.Eft.Notes; + +public class NoteActionData : BaseInteractionRequestData +{ + [JsonPropertyName("Action")] + public string Action { get; set; } + + [JsonPropertyName("index")] + public int Index { get; set; } + + [JsonPropertyName("note")] + public Note Note { get; set; } +} + +public class Note +{ + [JsonPropertyName("Time")] + public int Time { get; set; } + + [JsonPropertyName("Text")] + public string Text { get; set; } +} \ No newline at end of file diff --git a/Core/Models/Eft/Notifier/Notifier.cs b/Core/Models/Eft/Notifier/Notifier.cs new file mode 100644 index 00000000..8955aa42 --- /dev/null +++ b/Core/Models/Eft/Notifier/Notifier.cs @@ -0,0 +1,21 @@ +using System.Text.Json.Serialization; + +namespace Core.Models.Eft.Notifier; + +public class NotifierChannel +{ + [JsonPropertyName("server")] + public string Server { get; set; } + + [JsonPropertyName("channel_id")] + public string ChannelId { get; set; } + + [JsonPropertyName("url")] + public string Url { get; set; } + + [JsonPropertyName("notifierServer")] + public string NotifierServer { get; set; } + + [JsonPropertyName("ws")] + public string WebSocket { get; set; } +} \ No newline at end of file diff --git a/Core/Models/Eft/Notifier/SelectProfileResponse.cs b/Core/Models/Eft/Notifier/SelectProfileResponse.cs new file mode 100644 index 00000000..d256aa5b --- /dev/null +++ b/Core/Models/Eft/Notifier/SelectProfileResponse.cs @@ -0,0 +1,9 @@ +using System.Text.Json.Serialization; + +namespace Core.Models.Eft.Notifier; + +public class SelectProfileResponse +{ + [JsonPropertyName("status")] + public string Status { get; set; } +} \ No newline at end of file diff --git a/Core/Models/Eft/Player/PlayerIncrementSkillLevelRequestData.cs b/Core/Models/Eft/Player/PlayerIncrementSkillLevelRequestData.cs new file mode 100644 index 00000000..f7dccb27 --- /dev/null +++ b/Core/Models/Eft/Player/PlayerIncrementSkillLevelRequestData.cs @@ -0,0 +1,55 @@ +using System.Text.Json.Serialization; +using Core.Models.Eft.Common.Tables; + +namespace Core.Models.Eft.Player; + +public class PlayerIncrementSkillLevelRequestData +{ + [JsonPropertyName("_id")] + public string Id { get; set; } + + [JsonPropertyName("experience")] + public int Experience { get; set; } + + [JsonPropertyName("quests")] + public List Quests { get; set; } + + [JsonPropertyName("ragFairOffers")] + public List RagFairOffers { get; set; } + + [JsonPropertyName("builds")] + public List Builds { get; set; } + + [JsonPropertyName("items")] + public Items Items { get; set; } + + [JsonPropertyName("production")] + public Production Production { get; set; } + + [JsonPropertyName("skills")] + public Skills Skills { get; set; } + + [JsonPropertyName("traderRelations")] + public TraderRelations TraderRelations { get; set; } +} + +// TODO: These are all lists of objects. +public class Items +{ + [JsonPropertyName("new")] + public List NewItems { get; set; } + + [JsonPropertyName("change")] + public List ChangedItems { get; set; } + + [JsonPropertyName("del")] + public List DeletedItems { get; set; } +} + +public class Production +{ +} + +public class TraderRelations +{ +} \ No newline at end of file diff --git a/Core/Models/Eft/Prestige/GetPrestigeResponse.cs b/Core/Models/Eft/Prestige/GetPrestigeResponse.cs new file mode 100644 index 00000000..ddff03bb --- /dev/null +++ b/Core/Models/Eft/Prestige/GetPrestigeResponse.cs @@ -0,0 +1,9 @@ +using System.Text.Json.Serialization; + +namespace Core.Models.Eft.Prestige; + +public class GetPrestigeResponse +{ + [JsonPropertyName("elements")] + public List Elements { get; set; } +} \ No newline at end of file