Last active
March 8, 2016 22:57
-
-
Save camden-smallwood-zz/2a2f2e8fed47d82ab0f7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| #include <Network\Network.h> | |
| using namespace Anvil::Network; | |
| get_player_index_function get_player_index = nullptr; | |
| xnaddrtoinaddr_function xnaddrtoinaddr = nullptr; | |
| transport_address_valid_function transport_address_valid = nullptr; | |
| network_life_cycle_create_local_squad_function network_life_cycle_create_local_squad = nullptr; | |
| session_interface_update_local_state_function session_interface_update_local_state = nullptr; | |
| session_interface_update_session_function session_interface_update_session = nullptr; |
This file contains hidden or 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
| #pragma once | |
| #include <AnvilLib.h> | |
| namespace Anvil | |
| { | |
| namespace Network | |
| { | |
| typedef ANVILLIB_API int32_t(__fastcall *get_player_index_function)(void *v0, void *v1); | |
| extern ANVILLIB_API get_player_index_function get_player_index; | |
| typedef ANVILLIB_API bool(__cdecl *xnaddrtoinaddr_function)(void *v0); | |
| extern ANVILLIB_API xnaddrtoinaddr_function xnaddrtoinaddr; | |
| typedef ANVILLIB_API bool(__thiscall *transport_address_valid_function)(void *v0); | |
| extern ANVILLIB_API transport_address_valid_function transport_address_valid; | |
| typedef ANVILLIB_API bool(__thiscall *network_life_cycle_create_local_squad_function)(void *v0); | |
| extern ANVILLIB_API network_life_cycle_create_local_squad_function network_life_cycle_create_local_squad; | |
| typedef ANVILLIB_API void *(__cdecl *session_interface_update_local_state_function)(); | |
| extern ANVILLIB_API session_interface_update_local_state_function session_interface_update_local_state; | |
| typedef ANVILLIB_API uint32_t(__fastcall *session_interface_update_session_function)(void *v0); | |
| extern ANVILLIB_API session_interface_update_session_function session_interface_update_session; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment