[FEATURE] Properties в объекте клиента

This commit is contained in:
Gravit 2020-07-22 21:28:14 +07:00
parent 57b0809e56
commit d4389b9f1f
No known key found for this signature in database
GPG key ID: 98A079490768CCE5

View file

@ -9,6 +9,8 @@
import pro.gravit.launchserver.socket.response.auth.AuthResponse; import pro.gravit.launchserver.socket.response.auth.AuthResponse;
import pro.gravit.utils.helper.LogHelper; import pro.gravit.utils.helper.LogHelper;
import java.util.Map;
public class Client { public class Client {
public long session; public long session;
public String auth_id; public String auth_id;
@ -26,6 +28,8 @@ public class Client {
public transient User daoObject; public transient User daoObject;
public transient Map<String, Object> properties;
public Client(long session) { public Client(long session) {
this.session = session; this.session = session;
timestamp = System.currentTimeMillis(); timestamp = System.currentTimeMillis();