public uint AddVehicle(VehiclePrototype prototype, VehicleState vehicle) { uint assignedID = RegisteredPlayers; ++RegisteredPlayers; SimulationData.RegisterPlayer(assignedID, prototype); ActiveState.AddVehicle(assignedID, vehicle); ActiveState.SetProjectileCount(assignedID, 1); return(assignedID); }