mirror of
				https://github.com/solero/houdini.git
				synced 2025-11-04 14:41:56 +00:00 
			
		
		
		
	handle_get_best_friends player handler
This commit is contained in:
		@@ -148,6 +148,11 @@ async def handle_find_player(p, player_id: int):
 | 
				
			|||||||
    await p.send_xt('bf', room_id, room_type, room_owner)
 | 
					    await p.send_xt('bf', room_id, room_type, room_owner)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@handlers.handler(XTPacket('u', 'gbffl'))
 | 
				
			||||||
 | 
					async def handle_get_best_friends(p):
 | 
				
			||||||
 | 
					    await p.send_xt('gbffl', ','.join((str(buddy.buddy_id) for buddy in p.data.buddies.values() if buddy.best_buddy)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@handlers.handler(XTPacket('u', 'pbsms'), client=ClientType.Vanilla)
 | 
					@handlers.handler(XTPacket('u', 'pbsms'), client=ClientType.Vanilla)
 | 
				
			||||||
async def handle_pbsm_start(p):
 | 
					async def handle_pbsm_start(p):
 | 
				
			||||||
    await p.send_xt('pbsms')
 | 
					    await p.send_xt('pbsms')
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user