@rpgjs/server 5.0.0-alpha.23 → 5.0.0-alpha.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { PlayerCtor } from '@rpgjs/common';
1
+ import { PlayerCtor } from '../../../common/src';
2
2
  import { RpgPlayer } from './Player';
3
3
  export interface IBattleManager {
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { PlayerCtor } from '@rpgjs/common';
1
+ import { PlayerCtor } from '../../../common/src';
2
2
  type ClassClass = any;
3
3
  type ActorClass = any;
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { Constructor, RpgCommonPlayer } from '@rpgjs/common';
1
+ import { Constructor, RpgCommonPlayer } from '../../../common/src';
2
2
  import { ComponentInput, ComponentLayout } from './Components';
3
3
  type ComponentPosition = 'top' | 'center' | 'bottom' | 'left' | 'right';
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { PlayerCtor } from '@rpgjs/common';
1
+ import { PlayerCtor } from '../../../common/src';
2
2
  export declare enum Effect {
3
3
  CAN_NOT_SKILL = "CAN_NOT_SKILL",
4
4
  CAN_NOT_ITEM = "CAN_NOT_ITEM",
@@ -1,4 +1,4 @@
1
- import { PlayerCtor } from '@rpgjs/common';
1
+ import { PlayerCtor } from '../../../common/src';
2
2
  import { RpgPlayer } from './Player';
3
3
  /**
4
4
  * Element Manager Mixin
@@ -1,4 +1,4 @@
1
- import { PlayerCtor } from '@rpgjs/common';
1
+ import { PlayerCtor } from '../../../common/src';
2
2
  export interface GoldManager {
3
3
  /**
4
4
  * You can change the game money
@@ -1,7 +1,7 @@
1
1
  import { RpgPlayer } from './Player';
2
2
  import { Gui } from '../Gui';
3
3
  import { DialogOptions, Choice } from '../Gui/DialogGui';
4
- import { PlayerCtor } from '@rpgjs/common';
4
+ import { PlayerCtor } from '../../../common/src';
5
5
  /**
6
6
  * GUI Manager Mixin
7
7
  *
@@ -1,5 +1,5 @@
1
1
  import { ItemInstance } from '@rpgjs/database';
2
- import { PlayerCtor } from '@rpgjs/common';
2
+ import { PlayerCtor } from '../../../common/src';
3
3
  export declare function WithItemFixture<TBase extends PlayerCtor>(Base: TBase): TBase;
4
4
  export interface ItemFixture {
5
5
  equipments: ItemInstance[];
@@ -1,4 +1,4 @@
1
- import { Item, PlayerCtor } from '@rpgjs/common';
1
+ import { Item, PlayerCtor } from '../../../common/src';
2
2
  import { ItemClass } from '@rpgjs/database';
3
3
  import { RpgPlayer } from './Player';
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { PlayerCtor, ProjectileType, RpgCommonPlayer, Direction, MovementStrategy } from '@rpgjs/common';
1
+ import { PlayerCtor, ProjectileType, RpgCommonPlayer, Direction, MovementStrategy } from '../../../common/src';
2
2
  import { RpgPlayer } from './Player';
3
3
  type CallbackTileMove = (player: RpgPlayer, map: any) => Direction[];
4
4
  type CallbackTurnMove = (player: RpgPlayer, map: any) => string;
@@ -1,4 +1,4 @@
1
- import { PlayerCtor } from '@rpgjs/common';
1
+ import { PlayerCtor } from '../../../common/src';
2
2
  /**
3
3
  * Interface for Parameter Manager functionality
4
4
  *
@@ -1,4 +1,4 @@
1
- import { Hooks, RpgCommonPlayer, Constructor, Direction, AttachShapeOptions, RpgShape } from '@rpgjs/common';
1
+ import { Hooks, RpgCommonPlayer, Constructor, Direction, AttachShapeOptions, RpgShape } from '../../../common/src';
2
2
  import { IComponentManager } from './ComponentManager';
3
3
  import { RpgMap } from '../rooms/map';
4
4
  import { Context } from '@signe/di';
@@ -1,4 +1,4 @@
1
- import { PlayerCtor } from '@rpgjs/common';
1
+ import { PlayerCtor } from '../../../common/src';
2
2
  import { RpgPlayer } from './Player';
3
3
  /**
4
4
  * Skill Manager Mixin
@@ -1,4 +1,4 @@
1
- import { PlayerCtor } from '@rpgjs/common';
1
+ import { PlayerCtor } from '../../../common/src';
2
2
  import { RpgPlayer } from './Player';
3
3
  type StateClass = {
4
4
  new (...args: any[]): any;
@@ -1,4 +1,4 @@
1
- import { PlayerCtor } from '@rpgjs/common';
1
+ import { PlayerCtor } from '../../../common/src';
2
2
  /**
3
3
  * Variable Manager Mixin
4
4
  *
@@ -2,7 +2,7 @@ import { MapOptions } from './decorators/map';
2
2
  import { RpgPlayer, RpgEvent } from './Player/Player';
3
3
  import { RpgMap } from './rooms/map';
4
4
  import { RpgServerEngine } from './RpgServerEngine';
5
- import { WorldMapConfig, RpgShape } from '@rpgjs/common';
5
+ import { WorldMapConfig, RpgShape } from '../../common/src';
6
6
  type RpgClassMap<T> = new () => T;
7
7
  type RpgClassEvent<T> = RpgEvent;
8
8
  type MatchMakerOption = any;
package/dist/index.d.ts CHANGED
@@ -10,6 +10,6 @@ export * from './rooms/map';
10
10
  export * from './presets';
11
11
  export * from '@signe/reactive';
12
12
  export * from './Gui';
13
- export { RpgShape, RpgModule } from '@rpgjs/common';
13
+ export { RpgShape, RpgModule } from '../../common/src';
14
14
  export * from './decorators/event';
15
15
  export * from './decorators/map';