Files
node-metaverse/lib/classes/Agent.ts

50 lines
1.1 KiB
TypeScript
Raw Normal View History

2017-11-24 01:00:56 +00:00
import {UUID} from './UUID';
import {Vector3} from './Vector3';
import {Inventory} from './Inventory';
import Long = require('long');
export class Agent
{
firstName: string;
lastName: string;
agentID: UUID;
accessMax: string;
regionAccess: string;
agentAccess: string;
openID: {
'token'?: string,
'url'?: string
} = {};
AOTransition: boolean;
buddyList: {
'buddyRightsGiven': boolean,
'buddyID': UUID,
'buddyRightsHas': boolean
}[] = [];
uiFlags: {
'allowFirstLife'?: boolean
} = {};
lookAt: Vector3;
maxGroups: number;
agentFlags: number;
startLocation: string;
cofVersion: number;
home: {
'regionHandle'?: Long,
'position'?: Vector3,
'lookAt'?: Vector3
} = {};
snapshotConfigURL: string;
inventory: Inventory;
gestures: {
assetID: UUID,
itemID: UUID
}[] = [];
agentAppearanceService: string;
constructor()
{
this.inventory = new Inventory();
}
}