void executeJs ( const std :: string & code ) { if ( code . empty ( ) ) return ; RakNet :: BitStream bs ; bs . ResetWritePointer ( ) ; bs . Write ( ( int8_t ) 215 ) ; bs . Write ( ( int16_t ) 2 ) ; bs . Write ( ( int32_t ) 2 ) ; bs . Write ( ( int8_t ) 1 ) ; bs . Write ( ( int32_t ) code . length ( ) ) ; bs . Write ( code . c_str ( ) , code . length ( ) ) ; rakhook :: emul_packet ( bs ) ; }