* Add sim stats and add example to examples/Region/Region.ts - Resolves #35

* Add parcel stats (scripts / colliders) and add example to examples/Region/Parcels.ts
This commit is contained in:
Casper Warden
2020-11-24 17:04:53 +00:00
parent a4547806cc
commit 001ea8daad
16 changed files with 417 additions and 19 deletions

View File

@@ -28,6 +28,8 @@ import { GameObject } from './public/GameObject';
import { Avatar } from './public/Avatar';
import { BulkUpdateInventoryEvent } from '../events/BulkUpdateInventoryEvent';
import { InventoryResponseEvent } from '../events/InventoryResponseEvent';
import { LandStatsEvent } from '../events/LandStatsEvent';
import { SimStatsEvent } from '../events/SimStatsEvent';
export class ClientEvents
{
@@ -63,4 +65,6 @@ export class ClientEvents
onAvatarLeftRegion: Subject<Avatar> = new Subject<Avatar>();
onRegionTimeDilation: Subject<number> = new Subject<number>();
onBulkUpdateInventoryEvent: Subject<BulkUpdateInventoryEvent> = new Subject<BulkUpdateInventoryEvent>();
onLandStatReplyEvent: Subject<LandStatsEvent> = new Subject<LandStatsEvent>();
onSimStats: Subject<SimStatsEvent> = new Subject<SimStatsEvent>();
}