添加ip归属地
This commit is contained in:
@@ -88,6 +88,7 @@ export class PlayerDetail {
|
||||
roleName: string;
|
||||
lv: number;
|
||||
title?: number = 1;
|
||||
ipLocation: string = '';
|
||||
head?: number = EXTERIOR.EXTERIOR_FACE;
|
||||
frame?: number = EXTERIOR.EXTERIOR_FACECASE;
|
||||
spine?: number = EXTERIOR.EXTERIOR_APPEARANCE;
|
||||
@@ -126,6 +127,7 @@ export class PlayerDetail {
|
||||
if(role.head) this.head = role.head;
|
||||
if(role.frame) this.frame = role.frame;
|
||||
if(role.spine) this.spine = role.spine;
|
||||
if(role.ipLocation) this.ipLocation = role.ipLocation;
|
||||
}
|
||||
|
||||
setCe(ce: number) {
|
||||
|
||||
@@ -18,6 +18,7 @@ export class FriendParams {
|
||||
serverName: string;
|
||||
type: number = FRIEND_RELATION_TYPE.NORMAL;
|
||||
guildName: string = '';
|
||||
ipLocation: string = '';
|
||||
|
||||
constructor(role: RoleType) {
|
||||
this.roleId = role.roleId;
|
||||
@@ -29,6 +30,7 @@ export class FriendParams {
|
||||
this.ce = role.ce;
|
||||
this.title = role.title;
|
||||
this.guildName = role.guildName||'';
|
||||
this.ipLocation = role.ipLocation||'';
|
||||
}
|
||||
|
||||
setServerName(serverId: number, serverName: string) {
|
||||
|
||||
Reference in New Issue
Block a user