mirror of
https://github.com/lampame/lampac-ukraine.git
synced 2026-04-16 17:32:20 +00:00
- Updated namespaces across all online modules to include LME prefix (e.g., AnimeON -> LME.AnimeON) - Changed routes from /lite/plugin to /lite/lme.plugin - Prefixed cache keys with lme. (e.g., jacktor: -> lme.jacktor:) - Updated module settings names and init calls to LME.Plugin - Bumped version numbers and updated manifest files with LME-prefixed class names - Replaced OnError calls to use lme.plugin identifiers - Modified log messages to include lme.plugin prefix for consistency
57 lines
1.3 KiB
C#
57 lines
1.3 KiB
C#
using System.Collections.Generic;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace LME.NMoonAnime.Models
|
|
{
|
|
public class NMoonAnimeSearchResponse
|
|
{
|
|
[JsonPropertyName("seasons")]
|
|
public List<NMoonAnimeSeasonRef> Seasons { get; set; } = new();
|
|
}
|
|
|
|
public class NMoonAnimeSeasonRef
|
|
{
|
|
[JsonPropertyName("season_number")]
|
|
public int SeasonNumber { get; set; }
|
|
|
|
[JsonPropertyName("url")]
|
|
public string Url { get; set; }
|
|
}
|
|
|
|
public class NMoonAnimeSeasonContent
|
|
{
|
|
public int SeasonNumber { get; set; }
|
|
|
|
public string Url { get; set; }
|
|
|
|
public bool IsSeries { get; set; }
|
|
|
|
public List<NMoonAnimeVoiceContent> Voices { get; set; } = new();
|
|
}
|
|
|
|
public class NMoonAnimeVoiceContent
|
|
{
|
|
public string Name { get; set; }
|
|
|
|
public string MovieFile { get; set; }
|
|
|
|
public List<NMoonAnimeEpisodeContent> Episodes { get; set; } = new();
|
|
}
|
|
|
|
public class NMoonAnimeEpisodeContent
|
|
{
|
|
public string Name { get; set; }
|
|
|
|
public int Number { get; set; }
|
|
|
|
public string File { get; set; }
|
|
}
|
|
|
|
public class NMoonAnimeStreamVariant
|
|
{
|
|
public string Url { get; set; }
|
|
|
|
public string Quality { get; set; }
|
|
}
|
|
}
|