From 0f9ec2061c4ad6157c3186f1cab9c4d8558980b5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 29 May 2015 14:30:20 +0300 Subject: Add strong typed int type BeingId. --- src/net/ea/token.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/net/ea/token.h') diff --git a/src/net/ea/token.h b/src/net/ea/token.h index 65368b6e2..a62136aee 100644 --- a/src/net/ea/token.h +++ b/src/net/ea/token.h @@ -20,6 +20,7 @@ * along with this program. If not, see . */ +#include "enums/simpletypes/beingid.h" #include "enums/being/gender.h" #ifndef NET_EA_TOKEN_H @@ -27,14 +28,14 @@ struct Token final { - int account_ID; + BeingId account_ID; int session_ID1; int session_ID2; Gender::Type sex; void clear() { - account_ID = 0; + account_ID = BeingId_zero; session_ID1 = 0; session_ID2 = 0; sex = Gender::UNSPECIFIED; -- cgit v1.2.3-60-g2f50