private IEnumerator StartMatches() { _matchCounter.text = string.Empty; int randomIndex = UnityEngine.Random.Range(0, _emojiDatas.Length); EmojiData randomEmojiData = _emojiDatas[randomIndex]; foreach (var match in _matches) { match.Cleanup(); match.BuildMatch(randomEmojiData, _maxScore, _timeLimit, _finalCountdown); } yield return(StartCoroutine(Fade(1f, 0f))); _fadeSprite.enabled = false; _matchCounter.text = string.Format("Match {0} of {1}", _currentMatch, _bestOf); foreach (var match in _matches) { match.Begin(); match.AddGameListeners(this); } }
private static async Task AddMessageToDatabase(ulong id, DiscordRole role, DiscordEmoji emoji) { var emojiData = new EmojiData(emoji); // Let's build the command. using var command = new SqliteCommand(BotDatabase.Instance.DataSource) { CommandText = QQ_AddRow }; SqliteParameter a = new SqliteParameter("$messageId", id.ToString()) { DbType = DbType.String }; SqliteParameter b = new SqliteParameter("$roleId", role.Id.ToString()) { DbType = DbType.String }; SqliteParameter c = new SqliteParameter("$isUnicode", emojiData.IsUnicodeCharacter) { DbType = DbType.Boolean }; SqliteParameter d = new SqliteParameter("$emoteData", emojiData.Value) { DbType = DbType.String }; command.Parameters.AddRange(new SqliteParameter[] { a, b, c, d }); await BotDatabase.Instance.ExecuteNonQuery(command); }
public Emoji(EmojiData emojiData) { Name = emojiData.Name; Image = emojiData.Image; Flavor = emojiData.Flavor; Category = emojiData.Category; }
private async Task InsertEmoji(EmojiData data) { inputBox.Document.Selection.InsertImage(20, 20, 0, VerticalCharacterAlignment.Baseline, data.Name, await(await StorageFile.GetFileFromApplicationUriAsync(data.Uri)).OpenReadAsync()); inputBox.Document.Selection.MoveRight(TextRangeUnit.Character, 1, false); }
private static async Task <bool> CheckEmoteMessageExists(ulong messageId, DiscordEmoji emoji) { var emojiData = new EmojiData(emoji); // Let's build the command. using var command = new SqliteCommand(BotDatabase.Instance.DataSource) { CommandText = QQ_CheckMessageEmoteExists }; SqliteParameter a = new SqliteParameter("$messageId", messageId.ToString()) { DbType = DbType.String }; SqliteParameter b = new SqliteParameter("$emoteData", emojiData.Value) { DbType = DbType.String }; command.Parameters.AddRange(new SqliteParameter[] { a, b }); object returnVal = await BotDatabase.Instance.ExecuteReaderAsync(command, processAction : delegate(SqliteDataReader reader) { object a; if (reader.Read()) { // Let's read the database. a = reader.GetValue(0); } else { a = null; } return(a); }); int returnValC; // Try to convert it to an int. If it throws an exception for some reason, chances are it's not what we're looking for. try { returnValC = Convert.ToInt32(returnVal); } catch { // Probably not an int, so let's set the value to something we absolutely know will return as false. returnValC = -1; } return(returnValC == 1); }
static EmojisCategory LoadEmojis(string filterFileContent) { var emojiList = new List <EmojiData>(); var sb = new StringBuilder(); sb.Clear(); foreach (var c in filterFileContent) { switch (c) { case '\r': // skip break; case '\n': // newline CommitEntry(); break; default: sb.Append(c); break; } } CommitEntry(); var headerEmoji = emojiList[0]; return(new EmojisCategory(emojiList, headerEmoji)); void CommitEntry() { if (sb.Length == 0) { return; } try { // TODO: improve format to add text codes for emojis var unicodeId = sb.ToString(); var textId = unicodeId; var entry = new EmojiData(unicodeId, textId); emojiList.Add(entry); } finally { sb.Clear(); } } }
// Token: 0x06000BDF RID: 3039 RVA: 0x00114438 File Offset: 0x00112638 public void UpdateLineEmoji(int LineTableID) { LineNode lineValue = this.mapLineController.getLineValue(DataManager.MapDataController.MapLineTable[LineTableID].lineObject); if ((DataManager.MapDataController.MapLineTable[LineTableID].baseFlag & 1) != 0) { EmojiData recordByKey = DataManager.MapDataController.EmojiDataTable.GetRecordByKey(DataManager.MapDataController.MapLineTable[LineTableID].emojiID); if (recordByKey.EmojiKey == DataManager.MapDataController.MapLineTable[LineTableID].emojiID) { float num = (float)((recordByKey.sizeX <= recordByKey.sizeY) ? recordByKey.sizeY : recordByKey.sizeX); if (num == 0f) { num = ((GUIManager.Instance.EmojiManager != null) ? GUIManager.Instance.EmojiManager.basebacksize : 73f); } else { num *= 0.9f; num += ((GUIManager.Instance.EmojiManager != null) ? GUIManager.Instance.EmojiManager.basebackoffset : 25f); } num /= ((GUIManager.Instance.EmojiManager != null) ? GUIManager.Instance.EmojiManager.basebacksize : 73f); SheetAnimationUnitGroup sheetAnimationUnitGroup; if (lineValue.NodeName.mapEmojiBack == null) { lineValue.NodeName.mapEmojiBack = GUIManager.Instance.pullEmojiIcon(ushort.MaxValue, 0, true); sheetAnimationUnitGroup = (lineValue.sheetUnit as SheetAnimationUnitGroup); lineValue.NodeName.mapEmojiBack.EmojiTransform.SetParent(sheetAnimationUnitGroup.transform, false); } lineValue.NodeName.mapEmojiBack.EmojiTransform.localPosition = GameConstants.lineeomjiback; lineValue.NodeName.mapEmojiBack.EmojiTransform.localScale = Vector3.one * num; if (lineValue.NodeName.mapEmoji != null) { GUIManager.Instance.pushEmojiIcon(lineValue.NodeName.mapEmoji); lineValue.NodeName.mapEmoji = null; } lineValue.NodeName.mapEmoji = GUIManager.Instance.pullEmojiIcon(recordByKey.IconID, recordByKey.KeyFrame, true); lineValue.NodeName.mapEmoji.EmojiTransform.localPosition = GameConstants.lineeomji; lineValue.NodeName.mapEmoji.EmojiTransform.localScale = Vector3.one * 0.9f; sheetAnimationUnitGroup = (lineValue.sheetUnit as SheetAnimationUnitGroup); lineValue.NodeName.mapEmoji.EmojiTransform.SetParent(sheetAnimationUnitGroup.transform, false); } } else if (lineValue.NodeName.mapEmoji != null) { GUIManager.Instance.pushEmojiIcon(lineValue.NodeName.mapEmoji); lineValue.NodeName.mapEmoji = null; if (lineValue.NodeName.mapEmojiBack != null) { GUIManager.Instance.pushEmojiIcon(lineValue.NodeName.mapEmojiBack); lineValue.NodeName.mapEmojiBack = null; } } }
void CreateFaceItems() { for (int i = 0; i < 14;++i ) { GameObject obj = Instantiate(Resources.Load(FaceItemPath)) as GameObject; obj.transform.parent = mGrid.transform; obj.transform.localScale = new Vector3(20f,20f,20f); UIChatEmoji ft = obj.AddComponent<UIChatEmoji>(); EmojiData ftd = new EmojiData(); ftd.headName = "0x" + (i+1).ToString().PadLeft(3, '0'); ft.Init(ftd); } mGrid.repositionNow = true; }
static async Task HandleTakeGiveRole(bool giveRole, DiscordGuild guild, DiscordUser user, DiscordChannel channel, DiscordMessage message, DiscordEmoji emoji) { var callingMember = await guild.GetMemberAsync(user.Id); // Make sure the person is a colonist and not muted if (await Permissions.HandlePermissionsCheck( member: callingMember, chan: channel, minRole: MinRoleColonist, shouldRespondToRejection: false) && (!user.IsBot)) { // Check the database for exactly what role we're giving or removing from them. EmojiData emojiData = new EmojiData(emoji); ulong discordRoleId = await QueryRoleInfo(message.Id, emojiData.Value); // Let's check if it's a valid role if (discordRoleId != 0) { // It's a valid role, so let's give or remove it to the person. DiscordMember member = await guild.GetMemberAsync(user.Id); DiscordRole role = guild.GetRole(discordRoleId); // Let's give them the role or remove it from them now. if (giveRole) { await member.GrantRoleAsync(role); } else { await member.RevokeRoleAsync(role); } } // end if } // end if } // end method
public static void FillEmojiData() { EmojiData ed = Resources.Load <EmojiData>("EmojiData/EmojiData"); if (ed == null) { Debug.LogError("请首先在工程视图中的EmojiData文件夹下创建EmojiData文件,选中EmojiData文件夹右键点击Create/CreateEmojiData即可"); return; } ed.datas.Clear(); string[] files = Directory.GetFiles(Application.dataPath + "/EmojiText/Emojis", "*.png"); foreach (string file in files) { string key = "[" + Path.GetFileNameWithoutExtension(file) + "]"; string p = file.Replace(Application.dataPath, "Assets"); Sprite s = AssetDatabase.LoadAssetAtPath <Sprite>(p); ed.datas.Add(new EmojiSprites() { key = key, sprite = s }); } AssetDatabase.Refresh(); }
// Token: 0x06001AE5 RID: 6885 RVA: 0x002DA740 File Offset: 0x002D8940 public void SetSelect() { if (this.SelectRT && (int)this.GM.EmojiNowPicIndex < this.PicRT.Length) { if (this.GM.EmojiNowPackageIndex == 65535) { if (this.GM.SaveEmojiKey.Count == 0) { this.SelectRT.gameObject.SetActive(false); this.NoKeyText.enabled = true; return; } if ((int)this.GM.EmojiNowPicIndex >= this.GM.SaveEmojiKey.Count) { this.GM.EmojiNowPicIndex = 0; } } this.SelectRT.gameObject.SetActive(true); this.NoKeyText.enabled = false; EmojiData recordByKey = DataManager.MapDataController.EmojiDataTable.GetRecordByKey(this.GetEmojiKey(this.GM.EmojiNowPackageIndex, (int)this.GM.EmojiNowPicIndex)); this.SelectRT.anchoredPosition = this.PicRT[(int)this.GM.EmojiNowPicIndex].anchoredPosition; this.SelectRT.sizeDelta = new Vector2(125f, 125f); } }
public void BuildMatch(EmojiData emojiData, int maxScore, int timeLimit, int finalCountdown) { _maxScore = maxScore; _timeLimit = timeLimit; _finalCountdown = finalCountdown; GameObject emoji = Instantiate(emojiData.EmojiPrefab, _emojiRoot); BoxCollider2D[] slotColliders = emoji.GetComponentsInChildren <BoxCollider2D>(); _slots.Clear(); for (int i = 0; i < slotColliders.Length; i++) { _slots.Add(slotColliders[i].gameObject); } _emojiPieces.Clear(); foreach (var emojiPiece in emojiData.EmojiPiecePrefabs) { GameObject emojiPieceGO = Instantiate(emojiPiece.gameObject, _emojiPiecesRoot); _emojiPieces.Add(emojiPieceGO); emojiPieceGO.SetActive(false); } }
void SetHeadAndText(EmojiData _data) { mHeadIcon.spriteName = _data.headName; }
internal static async Task RoleEmbedRemoveRole(CommandContext ctx, DiscordChannel channel, ulong messageId, DiscordEmoji emoji) { var a = channel.GetMessageAsync(messageId); var b = CheckEmoteMessageExists(messageId, emoji); await Task.WhenAll(a, b); DiscordMessage message = a.Result; bool messageHasEmote = b.Result; // Check if the message actually has that emote. if (messageHasEmote) { // It does, so let's query the database for everything that should be in the message. EmojiData emojiRemove = new EmojiData(emoji); RoleInfo[] roleInfos = await GetMessageEmotes(messageId); string botComments = String.Empty; var c = RemoveRow(messageId, emojiRemove.Value); await Task.WhenAll(c); // Let's check if this is the message's only react. if (roleInfos.Length == 1) { // It is, so let's delete the message as well. await message.DeleteAsync(); botComments = @"Additionally, the message was deleted because you deleted its only react."; } else { // It's not the only react, so let's rebuild the message string. // Get the first line of the content. var stringBuilder = new StringBuilder( new string(message.Content.TakeWhile(a => a != '\n').ToArray())); stringBuilder.Append('\n'); foreach (var roleInfo in roleInfos) { // Check if this is the emoji we want to remove. if (!roleInfo.EmojiData.Equals(emojiRemove)) { // It's not the emoji we want to remove, so let's add it to the stringbuilder. DiscordRole role = ctx.Guild.GetRole(roleInfo.RoleId); string emojiString = EmojiConverter.GetEmojiString( emoji: EmojiConverter.GetEmoji( cl: ctx.Client, data: roleInfo.EmojiData)); stringBuilder.AppendLine($"{role.Mention} {emojiString}"); } // end if } // end foreach var d = message.ModifyAsync(stringBuilder.ToString()); var e = message.DeleteReactionsEmojiAsync(emoji); await Task.WhenAll(d, e); await ctx.RespondAsync( embed : Generics.GenericEmbedTemplate( color: Generics.NeutralColor, description: $"Tasks:\nMessage Edit Success: {d.IsCompletedSuccessfully || e.IsCompletedSuccessfully}\n" + $"Database Check Success: {b.IsCompletedSuccessfully}\n" + $"Database Delete Success: {c.IsCompletedSuccessfully}" + (botComments.Length > 0 ? $"\n{botComments}" : String.Empty), title: @"Add new roles onto embed")); } // end else } // end if else { // It doesn't have the emote we want to remove, so let's notify the user. await ctx.RespondAsync( embed : Generics.GenericEmbedTemplate( color: Generics.NegativeColor, description: Generics.NegativeDirectResponseTemplate( mention: ctx.Member.Mention, body: $"that message doesn't have emote {EmojiConverter.GetEmojiString(emoji)} on it..."))); } }
// Token: 0x06001AE4 RID: 6884 RVA: 0x002DA0F0 File Offset: 0x002D82F0 public void SetIndex(ushort SelectIndex, bool OpenForce = false) { bool flag = this.GM.EmojiNowPackageIndex == SelectIndex; this.GM.EmojiNowPackageIndex = SelectIndex; if (!flag || OpenForce) { int num = 0; while (num < (int)this.ECount && num < this.EUnit.Length) { if (this.EUnit[num] != null) { this.GM.pushEmojiIcon(this.EUnit[num]); this.EUnit[num] = null; } num++; } this.ECount = this.GM.GetMapEmojiCount(SelectIndex); int num2 = 0; while (num2 < (int)this.ECount && num2 < this.PicRT.Length) { EmojiData recordByKey = DataManager.MapDataController.EmojiDataTable.GetRecordByKey(this.GetEmojiKey(SelectIndex, num2)); this.EUnit[num2] = this.GM.pullEmojiIcon(recordByKey.IconID, recordByKey.KeyFrame, false); this.EUnit[num2].EmojiTransform.SetParent(this.PicRT[num2], false); ((RectTransform)this.EUnit[num2].EmojiTransform).anchoredPosition = Vector2.zero; num2++; } if (!OpenForce) { this.GM.EmojiNowPicIndex = 0; } this.SetSelect(); this.DM.SetEmojiSave(SelectIndex + 1); for (int i = 0; i < 8; i++) { if (this.bFindScrollComp[i]) { this.Scroll_Comp[i].SelectImage1.enabled = false; this.Scroll_Comp[i].SelectImage2.enabled = false; if (this.Scroll_Comp[i].Btn2.m_BtnID2 == (int)SelectIndex) { if (SelectIndex == 65535) { this.Scroll_Comp[i].SelectImage1.enabled = true; } else { this.Scroll_Comp[i].SelectImage2.enabled = true; this.Scroll_Comp[i].FlasfGO.SetActive(false); } } } } } this.SpendBtn.SetActive(false); this.ItemInfoObj.SetActive(false); this.UseBtn.SetActive(false); this.BuyBtn.SetActive(false); this.GiftItem.SetActive(false); if (SelectIndex == 65535 || this.GM.HasEmotionPck(SelectIndex + 1)) { if (this.OpenType == 1) { ushort curItemQuantity = this.DM.GetCurItemQuantity(this.ItemID, 0); this.ItemInfoObj.SetActive(true); this.SetItemCount(curItemQuantity); if (curItemQuantity > 0) { this.UseBtn.SetActive(true); } else { this.SpendBtn.SetActive(true); } } else if (this.OpenType == 2) { this.UseBtn.SetActive(true); } if (this.GM.EmojiNowPackageIndex == 65535 && this.GM.SaveEmojiKey.Count == 0) { this.UseBtn.SetActive(false); this.SpendBtn.SetActive(false); this.ItemInfoObj.SetActive(false); } } else { this.BuyBtn.SetActive(true); this.GiftItem.SetActive(true); Emote recordByKey2 = DataManager.MapDataController.EmoteTable.GetRecordByKey(SelectIndex + 1); this.SetPrice(recordByKey2.ProductID); this.GM.ChangeHeroItemImg(this.GiftBtn.transform, eHeroOrItem.Item, recordByKey2.GiftID, 0, 0, 0); this.PointImg[0].enabled = false; this.PointImg[1].enabled = false; this.PointImg[2].enabled = false; if (this.GM.IsArabic) { if (recordByKey2.GiftCount >= 100) { this.GM.SetPointTexture(recordByKey2.GiftCount / 100, this.PointImg[2]); this.PointImg[2].enabled = true; this.GM.SetPointTexture(recordByKey2.GiftCount % 100 / 10, this.PointImg[1]); this.PointImg[1].enabled = true; this.GM.SetPointTexture(recordByKey2.GiftCount % 10, this.PointImg[0]); this.PointImg[0].enabled = true; } else if (recordByKey2.GiftCount >= 10 && recordByKey2.GiftCount <= 99) { this.GM.SetPointTexture(recordByKey2.GiftCount / 10, this.PointImg[1]); this.PointImg[1].enabled = true; this.GM.SetPointTexture(recordByKey2.GiftCount % 10, this.PointImg[0]); this.PointImg[0].enabled = true; } else { this.GM.SetPointTexture(recordByKey2.GiftCount, this.PointImg[0]); this.PointImg[0].enabled = true; } } else if (recordByKey2.GiftCount >= 100) { this.GM.SetPointTexture(recordByKey2.GiftCount / 100, this.PointImg[0]); this.PointImg[0].enabled = true; this.GM.SetPointTexture(recordByKey2.GiftCount % 100 / 10, this.PointImg[1]); this.PointImg[1].enabled = true; this.GM.SetPointTexture(recordByKey2.GiftCount % 10, this.PointImg[2]); this.PointImg[2].enabled = true; } else if (recordByKey2.GiftCount >= 10 && recordByKey2.GiftCount <= 99) { this.GM.SetPointTexture(recordByKey2.GiftCount / 10, this.PointImg[0]); this.PointImg[0].enabled = true; this.GM.SetPointTexture(recordByKey2.GiftCount % 10, this.PointImg[1]); this.PointImg[1].enabled = true; } else { this.GM.SetPointTexture(recordByKey2.GiftCount, this.PointImg[0]); this.PointImg[0].enabled = true; } } }
// Token: 0x06001AEF RID: 6895 RVA: 0x002DB18C File Offset: 0x002D938C public void UpDateRowItem(GameObject item, int dataIdx, int panelObjectIdx, int panelId) { if (panelId == 0 && panelObjectIdx < 8) { if (!this.bFindScrollComp[panelObjectIdx]) { this.bFindScrollComp[panelObjectIdx] = true; Transform transform = item.transform; if (this.GM.IsArabic) { transform.GetChild(1).GetChild(1).localScale = new Vector3(-1f, 1f, 1f); } transform.GetComponent <CustomImage>().hander = this; transform.GetChild(0).GetChild(0).GetComponent <CustomImage>().hander = this; transform.GetChild(0).GetChild(1).GetComponent <CustomImage>().hander = this; transform.GetChild(1).GetChild(0).GetComponent <CustomImage>().hander = this; transform.GetChild(1).GetChild(1).GetComponent <CustomImage>().hander = this; transform.GetChild(1).GetChild(2).GetComponent <CustomImage>().hander = this; transform.GetChild(1).GetChild(3).GetComponent <CustomImage>().hander = this; transform.GetChild(1).GetChild(3).GetChild(0).GetComponent <CustomImage>().hander = this; transform.GetChild(1).GetChild(3).GetChild(0).GetChild(0).GetComponent <CustomImage>().hander = this; this.Scroll_Comp[panelObjectIdx].ItemGO1 = transform.GetChild(0).gameObject; this.Scroll_Comp[panelObjectIdx].ItemGO2 = transform.GetChild(1).gameObject; this.Scroll_Comp[panelObjectIdx].FlasfGO = transform.GetChild(1).GetChild(3).gameObject; this.Scroll_Comp[panelObjectIdx].Btn1 = transform.GetChild(0).GetChild(1).GetComponent <UIButton>(); this.Scroll_Comp[panelObjectIdx].Btn1.m_Handler = this; this.Scroll_Comp[panelObjectIdx].Btn2 = transform.GetChild(1).GetChild(1).GetComponent <UIButton>(); this.Scroll_Comp[panelObjectIdx].Btn2.m_Handler = this; this.Scroll_Comp[panelObjectIdx].SelectImage1 = transform.GetChild(0).GetChild(0).GetComponent <Image>(); this.Scroll_Comp[panelObjectIdx].SelectImage2 = transform.GetChild(1).GetChild(0).GetComponent <Image>(); this.Scroll_Comp[panelObjectIdx].SelectImage1.gameObject.SetActive(true); this.Scroll_Comp[panelObjectIdx].SelectImage2.gameObject.SetActive(true); this.Scroll_Comp[panelObjectIdx].SelectImage1.enabled = false; this.Scroll_Comp[panelObjectIdx].SelectImage2.enabled = false; this.Scroll_Comp[panelObjectIdx].ObjectT = transform.GetChild(1).GetChild(1); this.Scroll_Comp[panelObjectIdx].EUnit = null; } if (dataIdx == 0) { this.Scroll_Comp[panelObjectIdx].ItemGO1.SetActive(true); this.Scroll_Comp[panelObjectIdx].ItemGO2.SetActive(false); if (this.GM.EmojiNowPackageIndex == 65535) { this.Scroll_Comp[panelObjectIdx].SelectImage1.enabled = true; } else { this.Scroll_Comp[panelObjectIdx].SelectImage1.enabled = false; } this.Scroll_Comp[panelObjectIdx].SelectImage2.enabled = false; this.Scroll_Comp[panelObjectIdx].Btn2.m_BtnID2 = 65535; } else { dataIdx--; if (dataIdx < 0 || dataIdx >= this.GM.EmojiIndex.Count) { return; } this.Scroll_Comp[panelObjectIdx].ItemGO1.SetActive(false); this.Scroll_Comp[panelObjectIdx].ItemGO2.SetActive(true); ushort num = this.GM.EmojiIndex[dataIdx]; this.Scroll_Comp[panelObjectIdx].Btn2.m_BtnID2 = (int)(num - 1); if (this.Scroll_Comp[panelObjectIdx].EUnit != null) { this.Scroll_Comp[panelObjectIdx].EUnit.EmojiImage.color = Color.white; this.GM.pushEmojiIcon(this.Scroll_Comp[panelObjectIdx].EUnit); this.Scroll_Comp[panelObjectIdx].EUnit = null; } Emote recordByKey = DataManager.MapDataController.EmoteTable.GetRecordByKey(num); EmojiData recordByKey2 = DataManager.MapDataController.EmojiDataTable.GetRecordByKey(this.GetEmojiKey(num - 1, (int)(recordByKey.SelectionPicNo - 1))); this.Scroll_Comp[panelObjectIdx].EUnit = this.GM.pullEmojiIcon(recordByKey2.IconID, recordByKey2.KeyFrame, false); this.Scroll_Comp[panelObjectIdx].EUnit.DefaultSprite(); float num2 = (float)recordByKey.TabScale / 100f; if ((double)num2 > 0.1) { this.Scroll_Comp[panelObjectIdx].EUnit.EmojiTransform.localScale = new Vector3(num2, num2, num2); } this.Scroll_Comp[panelObjectIdx].EUnit.EmojiTransform.SetParent(this.Scroll_Comp[panelObjectIdx].ObjectT, false); bool flag = this.GM.HasEmotionPck(num); if (flag) { this.Scroll_Comp[panelObjectIdx].EUnit.EmojiImage.color = Color.white; } else { this.Scroll_Comp[panelObjectIdx].EUnit.EmojiImage.color = Color.gray; } if (!this.DM.CheckEmojiSave(num) && !flag) { this.Scroll_Comp[panelObjectIdx].FlasfGO.SetActive(true); } else { this.Scroll_Comp[panelObjectIdx].FlasfGO.SetActive(false); } if (this.GM.EmojiNowPackageIndex == num - 1) { this.Scroll_Comp[panelObjectIdx].SelectImage2.enabled = true; } else { this.Scroll_Comp[panelObjectIdx].SelectImage2.enabled = false; } this.Scroll_Comp[panelObjectIdx].SelectImage1.enabled = false; } } }
public RoleInfo(EmojiData data, ulong roleid) { EmojiData = data; RoleId = roleid; }
public EmojisCategory(IReadOnlyList <EmojiData> emojis, EmojiData headerEmoji) { this.Emojis = emojis; this.HeaderEmoji = headerEmoji; }
public void Init(EmojiData _data) { InitUI(); this.mdata = _data; SetHeadAndText(_data); }