25 static Color user_colors[] = {
40 static int user_color_index = 0;
45 : name(n), netid(0), host(false),
46 rank(0), flight_time(0), missions(0), kills(0), losses(0),
47 auth_state(
NetAuth::NET_AUTH_INITIAL),
48 auth_level(
NetAuth::NET_AUTH_MINIMAL)
50 if (user_color_index < 0 || user_color_index >= 12)
53 color = user_colors[user_color_index++];
59 : netid(0), host(false),
60 rank(0), flight_time(0), missions(0), kills(0), losses(0),
61 auth_state(
NetAuth::NET_AUTH_INITIAL),
62 auth_level(
NetAuth::NET_AUTH_MINIMAL)
64 if (user_color_index < 0 || user_color_index >= 12)
67 color = user_colors[user_color_index++];
96 content +=
"\" sig \"";
98 content +=
"\" squad \"";
102 sprintf_s(buffer,
"\" rank %d time %d miss %d kill %d loss %d host %s ",
104 host ?
"true" :
"false");