-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDelegate.h
More file actions
20 lines (17 loc) · 759 Bytes
/
Delegate.h
File metadata and controls
20 lines (17 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once
#include "BEClient.h"
#include "BEPacket.h"
#include <vector>
namespace BE::delegate
{
extern BE::beclGameData::send_packet_t o_send_packet;
bool exit();
void run();
void command(char* command);
void received_packet(std::uint8_t* received_packet, std::uint32_t length);
void on_receive_auth_ticket(std::uint8_t* ticket, std::uint32_t length);
void add_peer(std::uint8_t* guid, std::uint32_t guid_length);
void remove_peer(std::uint8_t* guid, std::uint32_t guid_length);
void respond(std::uint8_t response_index, std::initializer_list<std::uint8_t> data);
void respond_fragmented(std::uint8_t response_index, battleye::be_fragment fragment, std::initializer_list<std::uint8_t> data);
}