Tidy up imports, add missing exports, rename some events for consistency
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import {UUID} from '../classes/UUID';
|
||||
import {UUID} from '..';
|
||||
|
||||
export class FriendResponseEvent
|
||||
{
|
||||
@@ -1,6 +0,0 @@
|
||||
import {MapBlock} from '../classes/MapBlock';
|
||||
|
||||
export class MapInfoRangeReply
|
||||
{
|
||||
regions: MapBlock[] = [];
|
||||
}
|
||||
6
lib/events/MapInfoRangeReplyEvent.ts
Normal file
6
lib/events/MapInfoRangeReplyEvent.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import {MapBlock} from '../classes/MapBlock';
|
||||
|
||||
export class MapInfoRangeReplyEvent
|
||||
{
|
||||
regions: MapBlock[];
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
import {MapBlock} from '../classes/MapBlock';
|
||||
|
||||
export class MapInfoReply
|
||||
export class MapInfoReplyEvent
|
||||
{
|
||||
block: MapBlock;
|
||||
avatars: {
|
||||
@@ -1,7 +1,7 @@
|
||||
import {UUID} from '../classes/UUID';
|
||||
import * as Long from 'long';
|
||||
import {UUID} from '..';
|
||||
|
||||
export class RegionInfoReply
|
||||
export class RegionInfoReplyEvent
|
||||
{
|
||||
X: number;
|
||||
Y: number;
|
||||
Reference in New Issue
Block a user