Commit 176d14fa authored by Mamadou Saliou DIALLO's avatar Mamadou Saliou DIALLO
Browse files

add player role in core

parent f7242668
......@@ -30,7 +30,10 @@ enum PlayerState {
UNBLOCKED = 0,
BLOCKED
}
enum PlayerRole {
TRACKED = 0,
CREATURE
}
struct PlayerStateResponse {
1: PlayerState state,
2: string message
......@@ -42,8 +45,9 @@ struct Player{
3: string ip
4: string port
5: PlayerState state,
6: optional list<TrackingKard> huntCards,
7: optional list<PlaceCard> placeCards,
6: PlayerRole role,
7: optional list<TrackingKard> huntCards,
8: optional list<PlaceCard> placeCards,
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment