This commit is contained in:
watrabi
2025-09-18 17:55:52 -04:00
commit 977f1ff4b8
15030 changed files with 17324420 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#include "Util.h"
#include "v8world/ContactManagerSpatialHash.h"
#include <boost/static_assert.hpp>
namespace RBX {
namespace Network {
const RBX::SystemAddress RakNetToRbxAddress(const RakNet::SystemAddress& raknetAddress)
{
return RBX::SystemAddress(raknetAddress.GetBinaryAddress(), raknetAddress.GetPort());
}
std::string RakNetAddressToString(const RakNet::SystemAddress& raknetAddress, bool writePort, char portDelineator)
{
char buffer[30];
raknetAddress.ToString(writePort, buffer, portDelineator);
return buffer;
}
}} // namespace