zj
2026-02-12 e094b18b33bde8fa171b83ea23315e8b65ea47e5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.nq.ws.parser;
 
 
public class Packet<T> {
 
    public int type = -1;
    public int id = -1;
    public String nsp;
    public T data;
    public int attachments;
 
    public Packet() {}
 
    public Packet(int type) {
        this.type = type;
    }
 
    public Packet(int type, T data) {
        this.type = type;
        this.data = data;
    }
}