mirror of
https://github.com/mgerb/classic-wow-forums
synced 2026-01-12 01:52:49 +00:00
client - wip user account page
This commit is contained in:
71
client/app/model/avatar.ts
Normal file
71
client/app/model/avatar.ts
Normal file
@@ -0,0 +1,71 @@
|
||||
export interface AvatarModel {
|
||||
title: string;
|
||||
imageSrc: any;
|
||||
}
|
||||
|
||||
export const AvatarList: AvatarModel[] = [
|
||||
{
|
||||
title: 'dwarf_f',
|
||||
imageSrc: require('../assets/avatars/Dwarf_female.gif'),
|
||||
},
|
||||
{
|
||||
title: 'dwarf_m',
|
||||
imageSrc: require('../assets/avatars/Dwarf_male.gif'),
|
||||
},
|
||||
{
|
||||
title: 'gnome_f',
|
||||
imageSrc: require('../assets/avatars/Gnome_female.gif'),
|
||||
},
|
||||
{
|
||||
title: 'gnome_m',
|
||||
imageSrc: require('../assets/avatars/Gnome_male.gif'),
|
||||
},
|
||||
{
|
||||
title: 'human_f',
|
||||
imageSrc: require('../assets/avatars/Human_female.gif'),
|
||||
},
|
||||
{
|
||||
title: 'human_m',
|
||||
imageSrc: require('../assets/avatars/Human_male.gif'),
|
||||
},
|
||||
{
|
||||
title: 'night_elf_f',
|
||||
imageSrc: require('../assets/avatars/Night_elf_female.gif'),
|
||||
},
|
||||
{
|
||||
title: 'night_elf_m',
|
||||
imageSrc: require('../assets/avatars/Night_elf_male.gif'),
|
||||
},
|
||||
{
|
||||
title: 'orc_f',
|
||||
imageSrc: require('../assets/avatars/Orc_female.gif'),
|
||||
},
|
||||
{
|
||||
title: 'orc_m',
|
||||
imageSrc: require('../assets/avatars/Orc_male.gif'),
|
||||
},
|
||||
{
|
||||
title: 'tauren_f',
|
||||
imageSrc: require('../assets/avatars/Tauren_female.gif'),
|
||||
},
|
||||
{
|
||||
title: 'tauren_m',
|
||||
imageSrc: require('../assets/avatars/Tauren_male.gif'),
|
||||
},
|
||||
{
|
||||
title: 'troll_f',
|
||||
imageSrc: require('../assets/avatars/Troll_female.gif'),
|
||||
},
|
||||
{
|
||||
title: 'troll_m',
|
||||
imageSrc: require('../assets/avatars/Troll_male.gif'),
|
||||
},
|
||||
{
|
||||
title: 'undead_f',
|
||||
imageSrc: require('../assets/avatars/Undead_female.gif'),
|
||||
},
|
||||
{
|
||||
title: 'undead_m',
|
||||
imageSrc: require('../assets/avatars/Undead_male.gif'),
|
||||
},
|
||||
];
|
||||
13
client/app/model/character.ts
Normal file
13
client/app/model/character.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
export interface CharacterModel {
|
||||
achievementPoints: number;
|
||||
battlegroup: string;
|
||||
class: number;
|
||||
gender: number;
|
||||
guild: string;
|
||||
lastModified: number;
|
||||
level: number;
|
||||
name: string;
|
||||
race: number;
|
||||
realm: string;
|
||||
spec: any;
|
||||
}
|
||||
@@ -1,4 +1,6 @@
|
||||
export * from './avatar';
|
||||
export * from './category';
|
||||
export * from './character';
|
||||
export * from './reply';
|
||||
export * from './thread';
|
||||
export * from './user';
|
||||
|
||||
@@ -5,4 +5,9 @@ export interface UserModel {
|
||||
id: number;
|
||||
permissions: string;
|
||||
token: string;
|
||||
character_name?: string;
|
||||
character_class?: string;
|
||||
character_guild?: string;
|
||||
character_avatar?: string;
|
||||
character_realm?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user