-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include player list packet handling in custom builds
- Loading branch information
Showing
6 changed files
with
55 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#pragma once | ||
|
||
#include <cstddef> | ||
#include "pf_packets.h" | ||
|
||
// Forward declarations | ||
namespace rf { | ||
struct NetAddr; | ||
struct Player; | ||
} | ||
|
||
bool pf_ac_process_packet(const void* data, size_t len, const rf::NetAddr& addr, rf::Player* player); | ||
void pf_ac_init_player(rf::Player* player); | ||
void pf_ac_verify_player(rf::Player* player); | ||
pf_pure_status pf_ac_get_pure_status(rf::Player* player); | ||
|
||
// callback | ||
void pf_player_verified(rf::Player* player, pf_pure_status pure_status); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#include "pf_ac.h" | ||
#include "pf_packets.h" | ||
#include "../rf/player/player.h" | ||
#include "../rf/multi.h" | ||
|
||
bool pf_ac_process_packet(const void*, size_t, const rf::NetAddr&, rf::Player*) | ||
{ | ||
return false; | ||
} | ||
|
||
void pf_ac_init_player(rf::Player*) | ||
{ | ||
} | ||
|
||
void pf_ac_verify_player(rf::Player*) | ||
{ | ||
} | ||
|
||
pf_pure_status pf_ac_get_pure_status(rf::Player*) | ||
{ | ||
return pf_pure_status::none; | ||
} |