ntcore_sys

Function NT_SetServerTeam

Source
pub unsafe extern "C" fn NT_SetServerTeam(
    inst: NT_Inst,
    team: u32,
    port: u32,
)
Expand description

Sets server addresses and port for client (without restarting client). Connects using commonly known robot addresses for the specified team.

ยงParameters

  • inst: Instance handle.
  • team: Team number.
  • port: Port to communicate over.