public async void MyServerEventHandlerAsync(IMyVehicle vehicle) { AltAsync.Log("data-custom-parser: " + vehicle.MyData); }
public void MyServerEventHandler2(IMyVehicle vehicle) { Alt.Log("data-custom-parser: " + vehicle.MyData); }
public void VehicleRemove2(IMyVehicle vehicle) { Console.WriteLine("vehicle removed2: " + vehicle?.MyData); }
public async void MyServerEventHandlerAsync(IMyVehicle vehicle) { await Task.Delay(100); AltAsync.Log("data-custom-parser: " + vehicle.MyData); }
public Task VehicleRemove2Async(IMyVehicle vehicle) { Console.WriteLine("vehicle removed2 async: " + vehicle?.MyData); return(Task.CompletedTask); }