mirror of
https://github.com/araxiaonline/ets-module-collection.git
synced 2026-06-13 02:52:20 -04:00
transmog start
This commit is contained in:
BIN
development/alternate-advancement/.DS_Store
vendored
BIN
development/alternate-advancement/.DS_Store
vendored
Binary file not shown.
@@ -0,0 +1,31 @@
|
||||
/** @ts-expect-error */
|
||||
let aio: AIO = {};
|
||||
|
||||
// Helper functions to create unique ids for frames and components
|
||||
// const id = (name: string, entry: number = null) => `Transmog${name}` + (entry ? entry : '');
|
||||
// const compId = (pageId: number, name: string) => `${botId}:BotMgr${name}`;
|
||||
|
||||
if(!aio.AddAddon()) {
|
||||
const transmogHandlers = aio.AddHandlers('Transmog', {});
|
||||
let transmogFrame: WoWAPI.Frame;
|
||||
|
||||
function mainFrame(player: Player) {
|
||||
|
||||
// Build the main frame
|
||||
if(!transmogFrame) {
|
||||
transmogFrame = CreateFrame("Frame", "TransmogMainFrame", UIParent, null, 1 );
|
||||
transmogFrame.SetSize(550, 265);
|
||||
transmogFrame.SetPoint("CENTER", UIParent, "CENTER", -100, 0);
|
||||
transmogFrame.SetBackdropColor(0, 0, 0, 0.5);
|
||||
|
||||
// Create a dressup model
|
||||
const model = CreateFrame()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
transmogHandlers.ShowFrame = (player: Player) => {
|
||||
mainFrame(player);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,10 +1,3 @@
|
||||
/** @ts-expect-error */
|
||||
let aio: AIO = {};
|
||||
|
||||
import { AccountInfo } from "../../classes/account";
|
||||
|
||||
function GetTransmogItems(player: Player) {
|
||||
|
||||
// SELECT * from acore_characters.custom_unlocked_appearances cua
|
||||
// join acore_world.item_template it ON (cua.item_template_id = it.entry) where account_id = 252
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user