13 lines
		
	
	
		
			325 B
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			325 B
		
	
	
	
		
			Plaintext
		
	
	
	
| if (!getroottable().rawin("Pack_Control")) Pack_Control <- {}
 | |
| 
 | |
| function Sq_Pack_Control(chunk) {
 | |
|     
 | |
|     local Pack_Json = Json_STL("buffer");
 | |
|     Pack_Json.Parse(chunk, 0, false);
 | |
|     local Op = Pack_Json.Get("op");
 | |
| 
 | |
|     if (Pack_Control.rawin(Op) == true) {
 | |
|         Pack_Control[Op](chunk);
 | |
|     }
 | |
|     Pack_Json.Delete();
 | |
| } |