Download
(3 MB)
Download
Updated: 06/29/24 05:42 PM
Compatibility:
Gold Road (10.0.0)
Updated:06/29/24 05:42 PM
Created:09/05/23 05:33 PM
Monthly downloads:2,368
Total downloads:14,290
Favorites:3
MD5:
10.0.0
LibEmote  Updated less than 3 days ago!  Popular! (More than 5000 hits)
Version: 1.12
by: akamatsu02, voidbiscuit
LibEmote is a library for emotes and textures, for example for Chat-Emote-Addons like pChat Emoji Extension or EmoteKEKW to make them compatible with each other.

How to use:

Emote Object:
Code:
--{
--  textures: string array,
--  scale: number,
--  emoteIndex: string of numbers,
--  name: string
--}

Get missing file texture:
Code:
LibEmote.GetMissing()
--Returns:
--texture: string

Get an empty emote object:
Code:
LibEmote.empty()
--Returns:
--emote object

Start emote selection window:
Code:
LibEmote.StartEmoteSelection(callback, packfilter, textsearch, endUiModeAfterSelect)
-- callback: function(texturePath (string))
-- packfilter: string (nilable) filter selection by an emote pack (from LibEmote.GetLoadedEmotePackNames())
-- textsearch: string (nilable) already put text in the search bar to filter the selection
-- endUiModeAfterSelect: boolean (nilable) end cursor ui mode after selection

Get texture of emote (e.g. for preview):
Code:
LibEmote.GetTextureByName(name, textureIndex)
-- name: string
-- textureIndex: (nilable) number

--Returns:
--texture path: string

Search for emotes by name:
Code:
LibEmote.SearchEmotesByName(name)
-- name: string

--Returns:
--emote objects: table

Get emote by exact name:
Code:
LibEmote.GetEmoteByName(name)
-- name: string

--Returns:
--emote object

Get all emote pack names:
Code:
LibEmote.GetLoadedEmotePackNames()
--Returns:
--table of strings

-- ! there can be icons without a pack name !

Get all emotes:
Code:
LibEmote.GetAllEmotes()
--Returns:
--emote objects: table

Get emote by index:
Code:
LibEmote.GetEmoteByIndex(index)
-- index: string

--Returns:
--emote object

Get emote index by name:
Code:
LibEmote.GetEmoteIndex(name)
-- name: string

--Returns:
--index: string

Add emotes:
Code:
LibEmote.InsertEmotes(emoteList, emotepackname)
--emoteList: table
--emotepackname: string (nilable)

--emote object:
--{
--  textures: table of strings,
--  scale: (nilable) number, -> will be set to 1 if nil
--  emoteIndex: string (needs to be unique!)
--  name: string
--}
1.12
- Bugfix

1.11
- fixed a bug with the selection
- removed emote packs as separate libs
-> for Developers: Emote Object was changed; see LibEmote.lua line 228

1.10
- changed searching
- increased performance when working with emote-indexes

1.9
- fixed bug with references

1.8
- added reference emotes

1.7
- added LibEmote-Notifier

1.6
- added emote selection window

1.5
- added EmotePack_Marker

1.4
- added EmotePack_Menhera and EmotePack_Sakura

1.3
- bugfixes

1.2
- bugfixes and added documentation

1.1
- added ESO textures as emotes

1.0
- added AkapChatExtra emotes
Archived Files (11)
File Name
Version
Size
Uploader
Date
1.11
3MB
akamatsu02
06/28/24 08:37 PM
1.10
3MB
akamatsu02
11/06/23 06:04 PM
1.9
3MB
akamatsu02
10/25/23 09:45 AM
1.8
3MB
akamatsu02
10/24/23 08:46 AM
1.7
3MB
akamatsu02
10/10/23 08:44 AM
1.6
3MB
akamatsu02
10/09/23 07:57 AM
1.4
9MB
akamatsu02
09/09/23 05:37 PM
1.3
4MB
akamatsu02
09/08/23 10:12 PM
1.2
4MB
akamatsu02
09/07/23 01:39 PM
1.1
4MB
akamatsu02
09/05/23 06:06 PM
1.0
4MB
09/05/23 05:33 PM


There have been no comments posted to this file.
Be the first to add one.



Category Jump: