1
zj
2024-08-19 9e020a4b14b2dcf2fddae99305cb6cccf42b6916
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;
    }
}