137 lines
3.0 KiB
C#
137 lines
3.0 KiB
C#
using System;
|
|
using Manager.MaiStudio;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02000076 RID: 118
|
|
public class CharacterSlotData
|
|
{
|
|
// Token: 0x17000070 RID: 112
|
|
// (get) Token: 0x0600040A RID: 1034 RVA: 0x0000F63B File Offset: 0x0000E83B
|
|
public Sprite Base
|
|
{
|
|
get
|
|
{
|
|
return this._base;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000071 RID: 113
|
|
// (get) Token: 0x0600040B RID: 1035 RVA: 0x0000F643 File Offset: 0x0000E843
|
|
public Sprite Frame
|
|
{
|
|
get
|
|
{
|
|
return this._frame;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000072 RID: 114
|
|
// (get) Token: 0x0600040C RID: 1036 RVA: 0x0000F64B File Offset: 0x0000E84B
|
|
public Sprite LeaderFrame
|
|
{
|
|
get
|
|
{
|
|
return this._leaderFrame;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000073 RID: 115
|
|
// (get) Token: 0x0600040D RID: 1037 RVA: 0x0000F653 File Offset: 0x0000E853
|
|
public Sprite SmallAwakeStar
|
|
{
|
|
get
|
|
{
|
|
return this._smallAwakeStar;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000074 RID: 116
|
|
// (get) Token: 0x0600040E RID: 1038 RVA: 0x0000F65B File Offset: 0x0000E85B
|
|
public Sprite AwakeStarBase
|
|
{
|
|
get
|
|
{
|
|
return this._awakeStarBase;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000075 RID: 117
|
|
// (get) Token: 0x0600040F RID: 1039 RVA: 0x0000F663 File Offset: 0x0000E863
|
|
public Sprite AwakeStarFrame
|
|
{
|
|
get
|
|
{
|
|
return this._awakeStarFrame;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000076 RID: 118
|
|
// (get) Token: 0x06000410 RID: 1040 RVA: 0x0000F66B File Offset: 0x0000E86B
|
|
public Color24 Color
|
|
{
|
|
get
|
|
{
|
|
return this._color;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000077 RID: 119
|
|
// (get) Token: 0x06000411 RID: 1041 RVA: 0x0000F673 File Offset: 0x0000E873
|
|
public Color24 SubColor
|
|
{
|
|
get
|
|
{
|
|
return this._subColor;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000412 RID: 1042 RVA: 0x0000F67B File Offset: 0x0000E87B
|
|
public CharacterSlotData(int colorKey, Color24 color, Color24 subColor)
|
|
{
|
|
this.Load(colorKey);
|
|
this._color = color;
|
|
this._subColor = subColor;
|
|
}
|
|
|
|
// Token: 0x06000413 RID: 1043 RVA: 0x0000F698 File Offset: 0x0000E898
|
|
private void Load(int colorKey)
|
|
{
|
|
if (this._base == null)
|
|
{
|
|
this._base = AssetManager.Instance().GetMapBgSprite(colorKey, "UI_Chara_RBase");
|
|
this._frame = AssetManager.Instance().GetMapBgSprite(colorKey, "UI_Chara_RFrame");
|
|
this._leaderFrame = AssetManager.Instance().GetMapBgSprite(colorKey, "UI_Chara_LFrame");
|
|
this._smallAwakeStar = AssetManager.Instance().GetMapBgSprite(colorKey, "UI_Chara_Star_S");
|
|
this._awakeStarBase = AssetManager.Instance().GetMapBgSprite(colorKey, "UI_Chara_Star");
|
|
this._awakeStarFrame = Resources.Load<Sprite>("Common/Sprites/Map/StarGauge/UI_CMN_Chara_Star_Big_Gauge01");
|
|
}
|
|
}
|
|
|
|
// Token: 0x040002A3 RID: 675
|
|
private const string CharaRootPath = "Common/Sprites/CharacterColor/";
|
|
|
|
// Token: 0x040002A4 RID: 676
|
|
private Sprite _base;
|
|
|
|
// Token: 0x040002A5 RID: 677
|
|
private Sprite _frame;
|
|
|
|
// Token: 0x040002A6 RID: 678
|
|
private Sprite _leaderFrame;
|
|
|
|
// Token: 0x040002A7 RID: 679
|
|
private Sprite _smallAwakeStar;
|
|
|
|
// Token: 0x040002A8 RID: 680
|
|
private Sprite _awakeStarBase;
|
|
|
|
// Token: 0x040002A9 RID: 681
|
|
private Sprite _awakeStarFrame;
|
|
|
|
// Token: 0x040002AA RID: 682
|
|
private Color24 _color;
|
|
|
|
// Token: 0x040002AB RID: 683
|
|
private Color24 _subColor;
|
|
}
|