| 122 | } |
| 123 | |
| 124 | bool NetworkGroup::canPerformCommand(GameCommand command) const |
| 125 | { |
| 126 | Permission action = NetworkActions::findCommand(command); |
| 127 | if (action != Permission::count) |
| 128 | { |
| 129 | return canPerformAction(action); |
| 130 | } |
| 131 | return false; |
| 132 | } |
| 133 | } // namespace OpenRCT2::Network |
| 134 | |
| 135 | #endif |
no outgoing calls
no test coverage detected