好友:赠送礼物

This commit is contained in:
luying
2021-02-03 20:17:55 +08:00
parent fe85f0e247
commit 41bf3d96b5
10 changed files with 725 additions and 624 deletions

View File

@@ -27,6 +27,7 @@ export const CONSUME_TYPE = {
SKIN: 7, // 时装
PIECE: 8, // 装备碎片
JEWEL: 9, //宝石
FRIEND_FAVOUR: 10, // 好友道具
};
export enum ROLE_TERAPH {
@@ -125,7 +126,8 @@ const itid_array = [
{ id: 45, name: '足具宝石', table: 'item', type: CONSUME_TYPE.JEWEL },
{ id: 46, name: '礼器宝石', table: 'item', type: CONSUME_TYPE.JEWEL },
{ id: 47, name: '典籍宝石', table: 'item', type: CONSUME_TYPE.JEWEL },
{ id: 48, name: '灵玄石', table: 'item', type: CONSUME_TYPE.JEWEL }
{ id: 48, name: '灵玄石', table: 'item', type: CONSUME_TYPE.JEWEL },
{ id: 49, name: '玩家好感道具', table: 'item', type: CONSUME_TYPE.FRIEND_FAVOUR }
];
export const ITID = new Map<number, {id: number, name: string, table: string, type?: number, isCurrency?: boolean, equipJewel?: number}>();

View File

@@ -6,6 +6,9 @@ export enum ROLE {
HANDLE_APPLY = 'roleId friendCnt lv',
GET_LV = 'lv',
GET_ROLE_ID = 'lv'
GET_ROLE_ID = 'roleId'
};
export enum FRIEND {
SEND_PRESENT = 'friendValue friendLv'
}