| 3530 | } |
| 3531 | |
| 3532 | void SetPlayerGroup(uint32_t index, uint32_t groupindex) |
| 3533 | { |
| 3534 | auto& network = GetContext()->GetNetwork(); |
| 3535 | Guard::IndexInRange(index, network.player_list); |
| 3536 | Guard::IndexInRange(groupindex, network.group_list); |
| 3537 | |
| 3538 | network.player_list[index]->group = network.group_list[groupindex]->id; |
| 3539 | } |
| 3540 | |
| 3541 | int32_t GetGroupIndex(uint8_t id) |
| 3542 | { |
no test coverage detected