https://github.com/eyal-wowhub/characterinfo
A library that provides character and realm information.
https://github.com/eyal-wowhub/characterinfo
lib library lua world-of-warcraft world-of-warcraft-addon wow wow-addon
Last synced: 20 days ago
JSON representation
A library that provides character and realm information.
- Host: GitHub
- URL: https://github.com/eyal-wowhub/characterinfo
- Owner: Eyal-WowHub
- License: bsd-3-clause
- Created: 2025-01-02T21:49:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-06T22:41:53.000Z (over 1 year ago)
- Last Synced: 2025-02-26T12:16:17.863Z (over 1 year ago)
- Topics: lib, library, lua, world-of-warcraft, world-of-warcraft-addon, wow, wow-addon
- Language: Lua
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CharacterInfo
A library that provides character and realm information.
#### Dependencies: [LibStub](https://www.curseforge.com/wow/addons/libstub), [Contracts](https://github.com/Eyal-WowHub/Contracts)
#### Used By: [WowInfo](https://github.com/Eyal-WowHub/WowInfo)
### Example:
```lua
local CharacterInfo = LibStub("CharacterInfo-1.0")
for isPlayerRealm, realm in CharacterInfo:IterableConnectedRealms() do
if isPlayerRealm then
print(realm, CharacterInfo:GetName())
else
print(realm)
end
end
```