| 1941 | NetCommandHandler nethandlers[DEM_MAX]; |
| 1942 | |
| 1943 | void Net_SetCommandHandler(EDemoCommand cmd, NetCommandHandler handler) noexcept |
| 1944 | { |
| 1945 | assert(cmd >= 0 && cmd < DEM_MAX); |
| 1946 | if (cmd >= 0 && cmd < DEM_MAX) nethandlers[cmd] = handler; |
| 1947 | } |
| 1948 | |
| 1949 | // [RH] Execute a special "ticcmd". The type byte should |
| 1950 | // have already been read, and the stream is positioned |
no outgoing calls
no test coverage detected