Basic relay link connection

This commit is contained in:
KimLS
2016-10-11 21:34:26 -07:00
parent 7a3147a3b3
commit 4ba0aa8e7f
360 changed files with 87742 additions and 47 deletions
+1 -1
View File
@@ -255,7 +255,7 @@ std::string EQ::Net::Packet::GetString(size_t offset, size_t length) const
throw std::out_of_range("Packet read out of range.");
}
return std::string((char*)Data(), (char*)Data() + length);
return std::string((char*)Data() + offset, (char*)Data() + offset + length);
}
std::string EQ::Net::Packet::GetCString(size_t offset) const