| 78 | } |
| 79 | |
| 80 | unsigned int NetworkClient::GetProtocolVersion() |
| 81 | { |
| 82 | unsigned int protocol_version = 0; |
| 83 | |
| 84 | if(server_protocol_version > OPENRGB_SDK_PROTOCOL_VERSION) |
| 85 | { |
| 86 | protocol_version = OPENRGB_SDK_PROTOCOL_VERSION; |
| 87 | } |
| 88 | else |
| 89 | { |
| 90 | protocol_version = server_protocol_version; |
| 91 | } |
| 92 | |
| 93 | return(protocol_version); |
| 94 | } |
| 95 | |
| 96 | bool NetworkClient::GetConnected() |
| 97 | { |
no outgoing calls
no test coverage detected