add force English flag for Tethealla BB client

This commit is contained in:
Martin Michelsen
2023-10-31 11:00:54 -07:00
parent 9e682e7c13
commit 8c85868e08
4 changed files with 24 additions and 4 deletions
+4
View File
@@ -145,6 +145,10 @@ struct parray {
return *reinterpret_cast<const parray<ItemT, SubCount>*>(&this->items[offset]);
}
std::string as_string() const {
return std::string(reinterpret_cast<const char*>(this->data()), sizeof(ItemT) * Count);
}
void assign_range(const ItemT* new_items, size_t count = Count, size_t start_offset = 0) {
for (size_t x = start_offset; (x < Count) && (x < start_offset + count); x++) {
this->items[x] = new_items[x];