Comparing version 0.1.9 to 0.1.10
import * as PIXI from "pixi.js"; | ||
import { CharacterData, Layers, MonsterData } from "../definitions/client"; | ||
import { Layers } from "../definitions/client"; | ||
import { CharacterData, MonsterData } from "../definitions/server"; | ||
export declare type MonsterSpriteData = { | ||
@@ -4,0 +5,0 @@ data: MonsterData; |
@@ -1,38 +0,4 @@ | ||
import { CXData, StatusInfo } from "alclient" | ||
import { Viewport } from "pixi-viewport" | ||
import { Container } from "pixi.js" | ||
export type CharacterData = { | ||
cx?: CXData | ||
hp: number | ||
id: string | ||
going_x: number | ||
going_y: number | ||
max_hp: number | ||
moving: boolean | ||
s: StatusInfo | ||
skin: string | ||
speed: number | ||
target?: string | ||
x: number | ||
y: number | ||
} | ||
export type MonsterData = { | ||
aa?: number | ||
hp: number | ||
id: string | ||
going_x: number | ||
going_y: number | ||
max_hp: number | ||
moving: boolean | ||
s: StatusInfo | ||
size?: number | ||
skin: string | ||
speed: number | ||
target?: string | ||
x: number | ||
y: number | ||
} | ||
export type Layers = { | ||
@@ -39,0 +5,0 @@ background: Container |
@@ -1,4 +0,36 @@ | ||
import { MapName } from "alclient" | ||
import { CharacterData, MonsterData } from "./client" | ||
import { CXData, MapName, StatusInfo } from "alclient" | ||
export type CharacterData = { | ||
cx?: CXData | ||
hp: number | ||
id: string | ||
going_x: number | ||
going_y: number | ||
max_hp: number | ||
moving: boolean | ||
s: StatusInfo | ||
skin: string | ||
speed: number | ||
target?: string | ||
x: number | ||
y: number | ||
} | ||
export type MonsterData = { | ||
aa?: number | ||
hp: number | ||
id: string | ||
going_x: number | ||
going_y: number | ||
max_hp: number | ||
moving: boolean | ||
s: StatusInfo | ||
size?: number | ||
skin: string | ||
speed: number | ||
target?: string | ||
x: number | ||
y: number | ||
} | ||
/** Signal to change the map, and center it at the coordinates provided */ | ||
@@ -5,0 +37,0 @@ export type MapData = { |
@@ -1,2 +0,1 @@ | ||
import AL from "alclient"; | ||
import Express from "express"; | ||
@@ -238,12 +237,2 @@ import Http from "http"; | ||
} | ||
async function run() { | ||
await AL.Game.loginJSONFile("../../credentials.json"); | ||
const G = await AL.Game.getGData(true, false); | ||
startServer(8080, G); | ||
const observer = await AL.Game.startObserver("US", "I"); | ||
addSocket("US I", observer.socket, observer); | ||
const observer2 = await AL.Game.startObserver("US", "II"); | ||
addSocket("US II", observer2.socket, observer2); | ||
} | ||
run(); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "algui", | ||
"version": "0.1.9", | ||
"version": "0.1.10", | ||
"description": "GUI Tests for the MMORPG Adventure.Land", | ||
@@ -28,3 +28,2 @@ "main": "build/server/index.js", | ||
"pixi.js": "^6.2.0", | ||
"rimraf": "^3.0.2", | ||
"socket.io": "^4.4.1", | ||
@@ -46,2 +45,3 @@ "socket.io-client": "^4.4.1" | ||
"mini-css-extract-plugin": "^2.5.3", | ||
"rimraf": "^3.0.2", | ||
"ts-loader": "^9.2.6", | ||
@@ -48,0 +48,0 @@ "typescript": "^4.5.5", |
Sorry, the diff of this file is not supported yet
9
5520191
20
11704
- Removedrimraf@^3.0.2
- Removedbalanced-match@1.0.2(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedglob@7.2.3(transitive)
- Removedinflight@1.0.6(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedonce@1.4.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedrimraf@3.0.2(transitive)
- Removedwrappy@1.0.2(transitive)