[BREAKING CHANGES] - Add new commands module for the Friends list, add new events for friends online/offline, friend rights management, friend map lookup

This commit is contained in:
Casper Warden
2018-10-12 14:34:43 +01:00
parent 375abc433e
commit 2a0c4dc3e8
86 changed files with 1406 additions and 330 deletions

View File

@@ -11,6 +11,7 @@ import {AgentCommands} from './commands/AgentCommands';
import {GroupCommands} from './commands/GroupCommands';
import {InventoryCommands} from './commands/InventoryCommands';
import {ParcelCommands} from './commands/ParcelCommands';
import {FriendCommands} from './commands/FriendCommands';
export class ClientCommands
{
@@ -19,6 +20,7 @@ export class ClientCommands
public teleport: TeleportCommands;
public region: RegionCommands;
public parcel: ParcelCommands;
public friends: FriendCommands;
public grid: GridCommands;
public comms: CommunicationsCommands;
public agent: AgentCommands;
@@ -33,6 +35,7 @@ export class ClientCommands
this.region = new RegionCommands(region, agent, bot);
this.parcel = new ParcelCommands(region, agent, bot);
this.grid = new GridCommands(region, agent, bot);
this.friends = new FriendCommands(region, agent, bot);
this.comms = new CommunicationsCommands(region, agent, bot);
this.agent = new AgentCommands(region, agent, bot);
this.group = new GroupCommands(region, agent, bot);
@@ -50,5 +53,6 @@ export class ClientCommands
this.agent.shutdown();
this.group.shutdown();
this.inventory.shutdown();
this.friends.shutdown();
}
}