[][src]Constant mcquery::SESSION_ID_MASK

pub const SESSION_ID_MASK: u32 = 0x0F0F0F0F;

Bitmask to validate a session ID

Usually you don't need this.

Example

use mcquery::SESSION_ID_MASK;
 
let session_id = 0x12345678_u32;
let valid_session_id = session_id & SESSION_ID_MASK;