mirror of
https://github.com/jwetzell/psn-js.git
synced 2026-08-25 00:49:16 +00:00
organize models and new modules
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { Chunk } from '../chunk';
|
||||
import { PacketHeaderChunk } from '../packet-header-chunk';
|
||||
import { InfoSystemNameChunk } from './info-system-name-chunk';
|
||||
import { InfoTrackerListChunk } from './info-tracker-list-chunk';
|
||||
|
||||
export interface InfoPacketChunk extends Chunk {
|
||||
packet_header: PacketHeaderChunk;
|
||||
system_name: InfoSystemNameChunk;
|
||||
tracker_list: InfoTrackerListChunk;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
import { Chunk } from '../chunk';
|
||||
|
||||
export interface InfoSystemNameChunk extends Chunk {
|
||||
system_name: string;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import { Chunk } from '../chunk';
|
||||
import { InfoTrackerNameChunk } from './info-tracker-name-chunk';
|
||||
|
||||
export interface InfoTrackerChunk extends Chunk {
|
||||
tracker_name?: InfoTrackerNameChunk;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
import { Chunk } from '../chunk';
|
||||
import { InfoTrackerChunk } from './info-tracker-chunk';
|
||||
|
||||
export interface InfoTrackerListChunk extends Chunk {
|
||||
trackers: {
|
||||
[key: number]: InfoTrackerChunk;
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
import { Chunk } from '../chunk';
|
||||
|
||||
export interface InfoTrackerNameChunk extends Chunk {
|
||||
tracker_name: string;
|
||||
}
|
||||
Reference in New Issue
Block a user