21 lines
		
	
	
		
			518 B
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			518 B
		
	
	
	
		
			Plaintext
		
	
	
	
| /*
 | |
| 文件名:GameWorld_move_position.nut
 | |
| 路径:CallBack/GameWorld_move_position.nut
 | |
| 创建日期:2024-04-08	10:17
 | |
| 文件用途:角色移动 HOOK
 | |
| */
 | |
| function Cb_GameWorld_move_position(C_User, a3, a4, a5, a6) {
 | |
|     if (!C_User) return;
 | |
|     local SUser = User(C_User);
 | |
|     local evv = {
 | |
|         op = 25001033,
 | |
|         XPos = a3,
 | |
|         YPos = a4,
 | |
|         Direction = a5,
 | |
|         Code = a6,
 | |
|         uid = SUser.GetUID(),
 | |
|         cid = SUser.GetCID(),
 | |
|         Area = SUser.GetArea(1)
 | |
|     }
 | |
|     Socket.SendGateway(evv);
 | |
| } |