gameServer2/src/utils.rs
author nemo
Fri, 13 Apr 2018 13:03:51 -0400
changeset 13327 b77a9380dd0f
parent 12142 193dfdcb0620
child 13421 cdf69667593b
permissions -rw-r--r--
QT for some reason messes with XCompose causing broken input (Qt 5 only - Qt 4 did not break anything). In Qt 5.2 and 5.3 this was causing an invalid conversion in chat messages containing these resulting in the bad bytes being stripped. In Qt 5.9 it is still broken, but you at least get a string with something in it. This checks for non-zero converted strings for room creation and chat lines.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12131
4348997e502b Refactor code to add more structure to it
unc0rr
parents: 12130
diff changeset
     1
use mio;
4348997e502b Refactor code to add more structure to it
unc0rr
parents: 12130
diff changeset
     2
12142
193dfdcb0620 - Use logging facilities instead of plain println!
unc0rr
parents: 12131
diff changeset
     3
pub const PROTOCOL_VERSION : u32 = 3;
12131
4348997e502b Refactor code to add more structure to it
unc0rr
parents: 12130
diff changeset
     4
pub const SERVER: mio::Token = mio::Token(1000000000 + 0);