Stand/Stand/netMessageText.hpp
2024-10-16 11:20:42 +08:00

19 lines
285 B
C++

#pragma once
#include "netMessage.hpp"
namespace rage
{
struct netMessageText : public netMessage
{
char text[256];
void setText(const char* text) noexcept
{
strncpy(this->text, text, 256);
this->text[255] = 0;
}
};
static_assert(sizeof(netMessageText) == 256);
}