1
dd
2025-12-26 3cfb3d987566f4baf5563a52dced85c9bd8a5391
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;
    }
}