| | |
| | |
|
| | | public class GuildEmblemModel : GameSystemManager<GuildEmblemModel>
|
| | | {
|
| | | public readonly int FamilyActionsType = 15; // 公会记录徽章类型15
|
| | | |
| | |
|
| | |
|
| | | private int m_NowChooseEmblemId;
|
| | |
| | | // 刷新旧的激活列表,用于对比红点显示
|
| | | public void RefreshOldShowActiveList()
|
| | | {
|
| | | oldShowActiveList.Clear();
|
| | | for (int i = 0; i < showList.Count; i++)
|
| | | {
|
| | | //已解锁的
|
| | | if (IsUnLock(showList[i]))
|
| | | {
|
| | | oldShowActiveList.Add(showList[i]);
|
| | | if (!oldShowActiveList.Contains(showList[i]))
|
| | | {
|
| | | oldShowActiveList.Add(showList[i]);
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|
| | |
| | | private bool TryGetfamilyAction(int emblemId, out HA513_tagMCFamilyActionInfo.tagMCFamilyAction familyAction)
|
| | | {
|
| | | familyAction = new HA513_tagMCFamilyActionInfo.tagMCFamilyAction();
|
| | | if (GuildManager.Instance.TryGetFamilyActions(FamilyActionsType, out var actions))
|
| | | if (GuildManager.Instance.TryGetFamilyActions(GuildManager.FamilyActionsType, out var actions))
|
| | | {
|
| | | for (int i = 0; i < actions.Length; i++)
|
| | | {
|