public override void OnNewNetworkSceneLoaded() { NetworkManager.AddNetFunctionListener("cubemove", thisNetworkID, DoMove); NetworkManager.NetworkUpdateEvent += NetworkUpdate; }
public override void OnNewNetworkSceneLoaded() { NetworkManager.AddNetFunctionListener("recv_car_data", thisNetworkID, ReceiveCarData); NetworkManager.AddNetFunctionListener("update_car_visuals", thisNetworkID, CL_UpdateCarVisuals); NetworkManager.NetworkUpdateEvent += NetworkUpdate; }
public override void OnNewNetworkSceneLoaded() { NetworkManager.AddNetFunctionListener("recv_client_inputs", thisNetworkID, RecvClientInputs); NetworkManager.AddNetFunctionListener("req_local_player", thisNetworkID, REQ_LocalPlayer); NetworkManager.ClientDisconnectEvent += OnClientDisconnected; }
public override void OnNewNetworkSceneLoaded() { NetworkManager.ClientConnectEvent += SV_OnClientConnected; NetworkManager.AddNetFunctionListener("create_temp_obj", thisNetworkID, CL_CreateNetObject); NetworkManager.AddNetFunctionListener("destroy_temp_obj", thisNetworkID, CL_RemoveNetObject); }
public override void OnNewNetworkSceneLoaded() { NetworkManager.AddNetFunctionListener("update_client_place_info", thisNetworkID, CL_UpdatePlaceInfo); NetworkManager.AddNetFunctionListener("update_race_info", thisNetworkID, CL_UpdateRaceInfo); NetworkManager.NetworkUpdateEvent += NetworkUpdate; }
public override void OnNewNetworkSceneLoaded() { NetworkManager.NetworkUpdateEvent += NetworkUpdate; NetworkManager.AddNetFunctionListener("new_local_player", thisNetworkID, REC_NewLocalPlayer); }
public override void OnNewNetworkSceneLoaded() { NetworkManager.AddNetFunctionListener("fx_spawn", thisNetworkID, CL_SpawnEffect); }