GekkoNet 1.0
C/C++ Peer to Peer Game Networking SDK
Loading...
Searching...
No Matches
Gekko::NetAddress Struct Reference

#include <net.h>

Collaboration diagram for Gekko::NetAddress:

Public Member Functions

 NetAddress ()
 NetAddress (void *data, u32 size)
u8 * GetAddress ()
u32 GetSize ()
void Copy (NetAddress *other)
bool Equals (NetAddress &other)

Private Attributes

std::unique_ptr< u8[]> _data
u32 _size

Detailed Description

Definition at line 12 of file net.h.

Constructor & Destructor Documentation

◆ NetAddress() [1/2]

Gekko::NetAddress::NetAddress ( )

Definition at line 21 of file net.cpp.

Here is the caller graph for this function:

◆ NetAddress() [2/2]

Gekko::NetAddress::NetAddress ( void * data,
u32 size )

Definition at line 13 of file net.cpp.

Member Function Documentation

◆ Copy()

void Gekko::NetAddress::Copy ( NetAddress * other)

Definition at line 27 of file net.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Equals()

bool Gekko::NetAddress::Equals ( NetAddress & other)

Definition at line 44 of file net.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetAddress()

u8 * Gekko::NetAddress::GetAddress ( )

Definition at line 49 of file net.cpp.

Here is the caller graph for this function:

◆ GetSize()

u32 Gekko::NetAddress::GetSize ( )

Definition at line 8 of file net.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ _data

std::unique_ptr<u8[]> Gekko::NetAddress::_data
private

Definition at line 23 of file net.h.

◆ _size

u32 Gekko::NetAddress::_size
private

Definition at line 24 of file net.h.


The documentation for this struct was generated from the following files: