コード例 #1
0
 public void PlayerVehicleLeftEvent(IExampleVehicleEntity vehicle, IExamplePlayerEntity player, byte seat)
 {
     Console.WriteLine($"Player [{ player.Id }] { player.Name } has left vehicle ID { vehicle.Id }. Seat ID: { seat }.");
 }
コード例 #2
0
 public void VehicleRemovedEvent(IExampleVehicleEntity vehicle)
 {
     Console.WriteLine($"Vehicle ID { vehicle.Id } has been removed.");
 }
コード例 #3
0
 public void PlayerVehicleSeatChangedEvent(IExampleVehicleEntity vehicle, IExamplePlayerEntity player, byte oldSeat, byte newSeat)
 {
     Console.WriteLine($"Player [{ player.Id }] { player.Name } changed his vehicle seat ID from { oldSeat } to { newSeat } in vehicle ID { vehicle.Id }.");
 }