mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-01-13 10:52:05 +01:00
19 lines
429 B
C#
19 lines
429 B
C#
using ChanSort.Api;
|
|
|
|
namespace ChanSort.Loader.LG
|
|
{
|
|
internal class LnbConfig : Api.LnbConfig
|
|
{
|
|
public Satellite Satellite { get; private set; }
|
|
|
|
public LnbConfig(DataMapping mapping, DataRoot dataRoot)
|
|
{
|
|
this.Id = mapping.GetByte("SettingId");
|
|
if (this.Id == 0)
|
|
return;
|
|
int satIndex = mapping.GetByte("SatIndex");
|
|
this.Satellite = dataRoot.Satellites[satIndex];
|
|
}
|
|
}
|
|
}
|