mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-23 16:23:12 +09:00
Remove unused filter
This commit is contained in:
1 parent
093b71045b
commit
c4d4cb3afd
2 files changed
-4
No files matched your search
@@ -353,20 +353,17 @@ export class GetPlayerPathRequest {
|
||||
|
||||
constructor(
|
||||
public instance_id: number,
|
||||
public player_name: string,
|
||||
public surface: string,
|
||||
) { }
|
||||
|
||||
static jsonSchema = Type.Object({
|
||||
"instance_id": Type.Number(),
|
||||
"player_name": Type.String(),
|
||||
"surface": Type.String(),
|
||||
});
|
||||
|
||||
static fromJSON(json: Static<typeof GetPlayerPathRequest.jsonSchema>) {
|
||||
return new this(
|
||||
json.instance_id,
|
||||
json.player_name,
|
||||
json.surface,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user